note 103344 added to function.session-start
| From: | tbali0524 at gmail dot com | Date: | Fri, 08 Apr 2011 09:25:00 +0000 |
| Subject: | note 103344 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178630@lists.php.net to get a copy of this message | ||
I spent several hours in debuggging a strange session problem.
My website that uses sessions for login and language selection worked perfectly with Firefox or
Chrome but not with IE9. (I did not tried with earlier versions.)
Even more strange was that it also worked with IE9 at localhost using XAMPP but not at the hosted
site.
Finally it turned out that the problem was I used underscore (_) in the subdomain name.
(e.g. "test_mysite.myhostprovider.com" )
It turned out that underscore is not standard in domain name and IE seems to be more strict in this
than the other.
----
Server IP: 69.147.83.197
Probable Submitter: 78.92.140.89
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- https://master.php.net/note/edit/103344
Del: integrated -- https://master.php.net/note/delete/103344/integrated
Del: useless -- https://master.php.net/note/delete/103344/useless
Del: bad code -- https://master.php.net/note/delete/103344/bad+code
Del: spam -- https://master.php.net/note/delete/103344/spam
Del: non-english -- https://master.php.net/note/delete/103344/non-english
Del: in docs -- https://master.php.net/note/delete/103344/in+docs
Del: other reasons-- https://master.php.net/note/delete/103344
Reject -- https://master.php.net/note/reject/103344
Search -- https://master.php.net/manage/user-notes.php