From:             kenneths at stud dot cs dot uit dot no
Operating system: linux
PHP version:      4.3.2
PHP Bug Type:     Session related
Bug description:  using use_trans_sid with two sessions is no-go

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 bug report at http://bugs.php.net/?id=26432&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26432&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26432&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26432&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26432&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26432&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=26432&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=26432&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26432&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26432&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26432&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26432&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26432&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26432&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26432&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26432&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26432&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26432&r=float

Reply via email to