I’m not sure if this should be in the PHP section or not, but I’m not sure if the issue is PHP-related, .htaccess-related, or even something else.
When doing final testing on my new website, I was surprised to come across a problem with my membership registration system. It’s built with PHP, and is pretty conventional – log in info is submitted via POST, PHP authenticates it with the help of MySQL, and PHP sets session variables which are used to check if the user is logged in on certain pages. The PHP scripts that are used to POST to and set the session information are required to use SSL.
In my tests using Safari, everything worked fine. However, in IE, I log in, and it seems like everything is fine, but my session doesn’t work. My credentials are POST-ed correctly because PHP doesn’t output any errors, but it’s like the session doesn’t realize I’m logged in because when I try and access protected pages, I’m sent back to the log in page.
Is using SSL and setting the regenerated session cookie screwing things up? I can’t figure out the problem!
Any help would be greatly appreciated.
Thanks! ?