Req #26432 [Opn->Wfx]: using use_trans_sid with two sessions is no-go
Edit report at https://bugs.php.net/bug.php?id=26432&edit=1
ID: 26432
Updated by: yohgaki@php.net
Reported by: kenneths at stud dot cs dot uit dot no
Summary: using use_trans_sid with two sessions is no-go
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: Session related
Operating System: linux
PHP Version: 4.3.2
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2003-11-27 04:43:33] kenneths at stud dot cs dot uit dot no
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.
------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=26432&edit=1
Thread (4 messages)