ID:               15322
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to