Bug #15322 Updated: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too
| From: | yohgaki@php.net | Date: | Mon, 04 Feb 2002 00:39:04 +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-79001@lists.php.net to get a copy of this message | ||
ID: 15322
Updated by: yohgaki@php.net
Reported By: gblatz@blatzheim.com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: SuSe 7.3
PHP Version: 4.1.1
New Comment:
Current code does not set SID when trans sid is off.
Is there any version that does initialize SID always?
Previous Comments:
------------------------------------------------------------------------
[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