#42750 [Opn->Asn]: if session_name contains a dot, a new session is started every request
| From: | jani@php.net | Date: | Tue, 25 Sep 2007 09:16:48 +0000 |
| Subject: | #42750 [Opn->Asn]: if session_name contains a dot, a new session is started every request | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117825@lists.php.net to get a copy of this message | ||
ID: 42750
Updated by: jani@php.net
Reported By: dominik dot dorn at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Session related
Operating System: Gentoo Linux
PHP Version: 5.2.4
-Assigned To:
+Assigned To: jani
New Comment:
It's propably the fact that PHP changes dots in incoming data into _
but I need to investigate a bit.
Previous Comments:
------------------------------------------------------------------------
[2007-09-24 22:28:48] dominik dot dorn at gmail dot com
Description:
------------
i was trying to fool a little around and tried to set the
session_name to "MYSITE.NET_SessionID'.
PHP sets a cookie with the name ASP.NET_SessionID
but seems not to read it at the next page request.
Reproduce code:
---------------
I tried this with the session_name("ASP.NET_SessionID"); function
and with setting it thru php.ini
session.name = MYSITE.NET_SessionID
i even tried to surround the text with quotes in php.ini like
session.name = "MYSITE.NET_SessionID"
or
session.name = 'MYSITE.NET_SessionID"
Expected result:
----------------
php reads the session id from the cookie names "MYSITE.NET_SessionID'
and then reads the sessiondata with the specified sessionhash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42750&edit=1