php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45754 IE loses session variables
Submitted: 2008-08-08 05:41 UTC Modified: 2008-08-09 12:49 UTC
From: bill at grandcentralapartments dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 5.2.6 OS: Server or client?
Private report: No CVE-ID: None
 [2008-08-08 05:41 UTC] bill at grandcentralapartments dot com
Description:
------------
It would be really helpful if somebody would post somewhere a comprehensive discussion of the session-related issues pertaining to IE. When I google these issues, I get more than 32K hits, so the problem is not rare. I've read some of the posts and tried the suggestions therein, but none of them have helped me a bit, possibly because they are just random guesses.

I don't want debugging help. I'd settle for any professional serious description of what is going on and how I can work around it. I can't imagine that nobody has ever run into these problems before. I'd settle for a semi-professional (but serious) opinion.

In case this isn't clear, my problem is that under IE (and only IE), the PHPSESSID cookie is being quietly rejected. For security reasons, I don't want to pass the session id as part of the URL. Would it help (or be harmless) if I were to explicitly save the PHPSESSID under IE? IE seems to have no problem accepting regular cookies from with my code. Is it time zone related, as some have suggested? Is it because I'm executing files in a subfolder under the main site? I just want to know what's going on, so I can change my setup appropriately.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-08 18:15 UTC] jani@php.net
You're doing something wrong and guessing from this is totally useless. Please ask this on the php-generals@lists.php.net mailing list. FYI: I have never experienced any problems with any browsers supporting cookies (including IE) in any site where I've used sessions.
 [2008-08-08 18:29 UTC] bill at grandcentralapartments dot com
I don't think you should be calling this report bogus based only on a guess that I'm doing something wrong, and that you've never encountered this problem before. If you have any doubts about it, try googling "IE session variables PHP", as I did. You might find some of the hits illuminating. A problem as widespread as this deserves better than a brush-off.

I had a hard enough time getting to this location, and was unaware of the forum you mention.
 [2008-08-09 12:49 UTC] johannes@php.net
Yes, people are having problems, but 99% of them are cases where they use session in a wrong way. But this is for filing error reports about errors in PHP not a support facility to analyze your mistakes. See http://php.net/support.php for a list of support facilities offered.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 16:01:34 2025 UTC