Re: transparant session propagation and headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Dec 1, 2004, at 22:19, Richard Lynch wrote:

Bas Kamer wrote:

On Dec 1, 2004, at 21:17, Richard Lynch wrote:

If a client doen't accept cookies and transparant session propagation
is enabled, links are changed to include the SID. But this is not the
case while redirecting clients. This results in session loss unless
you
manually add the session id to the redirect url. Not really
transparant...


I was wondering if this is correct behavior or a bug in php.

Feature.

There's no way PHP can "know" if you are re-directing to something
where
you want the sesssion propogated or not.


thanks for your answer...

shouldn't the following tell php whether session propagation is needed.

php.ini
strlen(SID)
redirect url is within the same domain

i mean, anchors do get SID added when within the same domain and
transparant propagation is ON.

Hmmmm. I can see your point...

Too many people (who shouldn't be using Redirect in the first place) are
doing so with the expectation that a Redirect will nuke the session data.


So you'd have a Legacy issue to work with on this one.

Worth a try, though, if you really think it's important.  Note that you
can append the SID by hand to your URL in the Redirect.

It's also really hard to say for sure that that's what most people *want*
PHP to do.

nope, if its an feature it a feature, i can live with it... i just wanted to know if its on overlooked issue or a conscious decision.


thank you for the insights


-- Like Music? http://l-i-e.com/artists.htm

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux