Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to switch from https to http?  RSS feed

 
Gagan Grover
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using the below code to switch from http to https on the login page.



How to switch back from https to http?

A solution I read on one of the posts is to provide the next url as absolute by prefixing the url with http:// and hence all the other urls will be relative to this http. But in this case I don't know how to get the port number for http as I am currently on https.

Please help me on the same.
 
kritika das
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am suggesting you a link that might be able to help you:
http://www.httpwatch.com/httpgallery/https/
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!