Re: [Phplib-users] falback_mode and session4
Brought to you by:
nhruby,
richardarcher
|
From: Giancarlo P. <gia...@na...> - 2002-06-04 19:12:13
|
Maxim Derkachev wrote: > > If fallback mode is defined and trans_id_enabled is set to false, the > session will be propagated using url() and purl() - they will add > SID if no session cookies are installed. The only thing that is > missing is the first redirect which is used in session3 to determine > if the session cookies are used. Well, I spoke too early in saying it's OK. if cookies are disabled, and there's no session in the URL, it seems PHP4 session will not generate a new session and append anything to the hyperlinks or the URL, both with trans_sid enabled or disabled. That's a way different from phplib behavior. In practice, with php4 session, there's no fallback_mode. Get mode(session.use_cookies=0 and cookies disabled) only works if the user provides session in the url (which is bad!), otherwise there's no generation of sid whithout cookies. Am I right? am actually trying various setups and php versions, so I might be makin some confusion around. > The reason it is missing coming from my opinion that this redirect is not > needed at all - if the cookies are used, SID will disappear from urls Well, phplib does the same when mode and fallback are both 'cookie'. It's actually fallback_mode (or mode) 'get' that imposes to have he session it the url as well > > BTW, there are some more serious incompatibilities. Look in README for > them. I know, but now I am focusing on this cookie/get problem. Thanks, Maxim Gian |