Bug #15322 Updated: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too
| From: | gblatz at blatzheim dot com | Date: | Mon, 04 Feb 2002 08:33:52 +0000 |
| Subject: | Bug #15322 Updated: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-79066@lists.php.net to get a copy of this message | ||
ID: 15322
Updated by: gblatz@blatzheim.com
Reported By: gblatz@blatzheim.com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: SuSe 7.3
PHP Version: 4.1.1
New Comment:
In versions <4.1.x I did not compile with --enable-trans-sid, had
session.use_trans_sid=1 and used <?=SID?>. The result was one
session-id. After the upgrade to 4.1.x I
get each session-id twice. All compiler settings remained
the same. As I understand --enable-trans-sid is now the default.
But how to get the same behaviour as before and is the implicit disable
of <?=SID?> by intention?
Further I'm not sure if the modification of the url_rewriter.tags is
the right way to handle this?
Previous Comments:
------------------------------------------------------------------------
[2002-02-03 19:39:03] yohgaki@php.net
Current code does not set SID when trans sid is off.
Is there any version that does initialize SID always?
------------------------------------------------------------------------
[2002-02-01 08:20:06] gblatz@blatzheim.com
Before 4.1.x I didn't compile with --enable-trans-sid and used instead
the <?=SID?> expression
on pages very often.
With the new releases and --enable-trans-sid as default I now get the
session-id twice on every link
which is the expected behaviour on first hand. I didn't want to edit
all pages.
My idea was to set "session.use_trans_sid=0" in php.ini to disable the
auto-session generation.
After this, even <?=SID?> does no longer generate a session-id, which
seems to be a bug!?
The only quick hack for the moment was to have
"session.use_trans_sid=1" and to modify
the url_rewriter.tags in php.ini:
Original: url_rewriter.tags =
"a=href,area=href,frame=src,input=src,form=fakeentry"
Modified: url_rewriter.tags =
"area=href,frame=src,input=src,form=fakeentry"
Is the new behaviour a feature or a bug?
Guenther
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=15322&edit=1