Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I turn off https when leaving the page?

Status
Not open for further replies.

bmdev

Programmer
May 13, 2003
29
US
Hello,

I turn on https for a web page with some personal data. When I go to another page on the site, the https remains instead of going back to http. We have include files in every page to turn the url back to http. This seems like a waste to put the include into every page.

Is there a way to tell you've left the page so I could turn the url back to http from https?

How do others handle this situation?

Thanks.
 
add onUnload="" in the <body> tag, calling a function

--Chessbot
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top