#26432 [Opn]: using use_trans_sid with two sessions is no-go
ID: 26432
User updated by: kenneths at stud dot cs dot uit dot no
Reported By: kenneths at stud dot cs dot uit dot no
Status: Open
Bug Type: Feature/Change Request
Operating System: linux
PHP Version: 4.3.2
New Comment:
Hmm, well its a fine line between a bug and a feature request in this
case. It does brake a site if youre not aware of it. It broke mine and
I wasnt aware of it because it only happened in the forum.
Previous Comments:
------------------------------------------------------------------------
[2003-11-27 04:28:48] sniper@php.net
This is not a bug but a feature request.
------------------------------------------------------------------------
[2003-11-27 04:24:42] kenneths at stud dot cs dot uit dot no
Description:
------------
If you enable session.using use_trans_sid, and have two different
sessions (different name), like if you have a site session and a phpbb
session, the url gets invalid.
PHP does not recognize that there are two sessions to append to the url
and prefix both of them with ?. This makes the url like this:
index.php?sess_name=xxx?=sess_name2=xxx. This is ofcourse invalid and
php doesnt recognize either of those sessions.
Reproduce code:
---------------
above
Expected result:
----------------
Recognize multiple sessions and put the correct argument delimiter
inbetweeen (& or so)
Actual result:
--------------
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26432&edit=1
Thread (4 messages)