php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #26432 using use_trans_sid with two sessions is no-go
Submitted: 2003-11-27 04:24 UTC Modified: 2012-03-29 09:23 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: kenneths at stud dot cs dot uit dot no Assigned:
Status: Wont fix Package: Session related
PHP Version: 4.3.2 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kenneths at stud dot cs dot uit dot no
New email:
PHP Version: OS:

 

 [2003-11-27 04:24 UTC] 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:
--------------
...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-27 04:43 UTC] 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.
 [2011-04-08 21:50 UTC] jani@php.net
-Package: Feature/Change Request +Package: Session related
 [2012-03-29 09:23 UTC] yohgaki@php.net
-Status: Open +Status: Wont fix
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 16:01:28 2024 UTC