note 33369 modified in function.session-start by vincent
| From: | vincent@php.net | Date: | Thu, 28 Aug 2003 11:21:55 +0000 |
| Subject: | note 33369 modified in function.session-start by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55223@lists.php.net to get a copy of this message | ||
[Editors Note: For more information about this
http://www.zvon.org/tmRFC/RFC882/Output/chapter5.html
]
I use name-based virtual hosting on Linux with Apache and PHP 4.3.2.
Every time when I refreshed (by pressing F5 in Internet Explorer) I noticed that I got a new
session_id. Simultaneously browsing the same site with Netscape didn't give me that problem.
First I thought this was some PHP issue (before I tested it with Netscape), but after searching a
lot on the internet I found the problem.
Since I was using name based virtual hosting for my testserver and we have different webshops for
different customers I used the syntax webshop_customername.servername.nl as the domain-name.
The _ in the domain name seemed to be the problem. Internet Explorer just denies setting the cookie
on the client when there is a special character (like an _ ) in the domain name. For more
information regarding this issue: http://support.microsoft.com/default.aspx?scid=kb;EN-US;316112
Stupidly enough, this information was related to asp (yuk :o)
--was--
I use name-based virtual hosting on Linux with Apache and PHP 4.3.2.
Every time when I refreshed (by pressing F5 in Internet Explorer) I noticed that I got a new
session_id. Simultaneously browsing the same site with Netscape didn't give me that problem.
First I thought this was some PHP issue (before I tested it with Netscape), but after searching a
lot on the internet I found the problem.
Since I was using name based virtual hosting for my testserver and we have different webshops for
different customers I used the syntax webshop_customername.servername.nl as the domain-name.
The _ in the domain name seemed to be the problem. Internet Explorer just denies setting the cookie
on the client when there is a special character (like an _ ) in the domain name. For more
information regarding this issue: http://support.microsoft.com/default.aspx?scid=kb;EN-US;316112
Stupidly enough, this information was related to asp (yuk :o)
http://www.php.net/manual/en/function.session-start.php