Bug #16389: session_name doesnt work as expected
| From: | assid at assid dot com | Date: | Tue, 02 Apr 2002 10:57:18 +0000 |
| Subject: | Bug #16389: session_name doesnt work as expected | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-3809@lists.php.net to get a copy of this message | ||
From: assid@assid.com
Operating system: Linux
PHP version: 4.1.2
PHP Bug Type: Session related
Bug description: session_name doesnt work as expected
session_name is supposed to get/set the session name.
So basically if i have a session variable which is registered under a
particular session name and a session id i should be able to propogate it
across any subdomain.
Now heres the real problem
i have a domain.com which works on eisessid as its session name and i have
abc.domain.com which i am trying to access the session information.
When i set session_name to eisessid i do not get the information of that
session(from within my php script). However, when i put session.name as
eisessvar in my .htaccess of abc.domain.com i am able to retrieve the
information.
Since session_name is supposed to set/get the name of the session and i am
propogating the session id to work, shouldnt session_name from within my
code be able to access the session variables ? instead of having to only
do it from .htaccess ?
--
Edit bug report at http://bugs.php.net/?id=16389&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16389&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16389&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16389&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16389&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16389&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16389&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16389&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16389&r=submittedtwice