The site I am working on has secure and non-secure pages. The secure pages reside at a slightly different URL (besides the https) than the non-secure pages. I am using PHP sessions to keep track of the user's login info and shopping cart. Whenever I link to from a non-secure page to a secure page, I add the $PHPSESSID to the url.
The problem is that occasionally the site returns a 404 message when the user clicks from a secure page to a non-secure page, and vice versa. When the page is refreshed it loads fine. Also, the contents of the user's shopping cart occasionally disappears when switching between secure and non-secure pages. Unfortunately, refreshing does not bring back the cart contents.
I have only been able to replicate this problem with IE 6.0 on Windows XP. So far, Netscape on XP and on Linux hasn't had this problem.
So, what I am wondering now is if this is a problem with the server or a problem with the browser not handling the cookie properly.
Here's the stats on the webserver:
Red Hat Linux 6.1
Apache 1.3.2
PHP 4.0
Thanks.