• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Redirecting from a secure page to a non-secure page without warning

Gaunt

Senior member
I'm in the process of building a site using PHP. I have created a login page that I intend to have only accept connections over secure https. The rest of the site, however, I would like accessed through regular http.

Everything is working, except when I automatically redirect the user from the login page (after successful login) to the home page, it warns the user that they are being redirected to an unsecure location.

Is there a way I can get around having the browse warn the user of this?
 
This warning is meant to help users. If there was a way around it (other than using pure SSL, which is a great thing for privacy) the warning would be useless. Let the warning stay, its not a big deal.
 
Fair enough, but it should be possible to move in and out of a secure area of a site without warning. For instance, when I do my banking online, it's secure, but when I logout, and it sends me back to the home page for my bank, it's not secure anymore, and I don't get a warning.

I was mostly hoping there was a proper way to go about doing this, not really a method for getting around the warning.
 
Originally posted by: Gaunt
Fair enough, but it should be possible to move in and out of a secure area of a site without warning. For instance, when I do my banking online, it's secure, but when I logout, and it sends me back to the home page for my bank, it's not secure anymore, and I don't get a warning.

I was mostly hoping there was a proper way to go about doing this, not really a method for getting around the warning.

Maybe there is... Hopefully someone else will give you a better response than myself. 😛
 
I don't believe it's an option not to be warned about it anymore... or atleast it's not in my testing.
 
Back
Top