From: dominik dot dorn at gmail dot com
Operating system: Gentoo Linux
PHP version: 5.2.4
PHP Bug Type: Session related
Bug description: if session_name contains a dot, a new session is started
every request
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 bug report at http://bugs.php.net/?id=42750&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=42750&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=42750&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=42750&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42750&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=42750&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42750&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42750&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42750&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42750&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42750&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=42750&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=42750&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42750&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42750&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42750&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42750&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42750&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42750&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42750&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42750&r=mysqlcfg