Bug #15322: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too
| From: | gblatz at blatzheim dot com | Date: | Fri, 01 Feb 2002 13:20:08 +0000 |
| Subject: | Bug #15322: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-78767@lists.php.net to get a copy of this message | ||
From: gblatz@blatzheim.com
Operating system: SuSe 7.3
PHP version: 4.1.1
PHP Bug Type: Session related
Bug description: php.ini : session.use_trans_sid=0 disables <?=SID?> session-id creation too
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 bug report at: http://bugs.php.net/?id=15322&edit=1