> -----Original Message-----
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: 26 July 2003 21:16
> 
> Hey John,
> I dont think its the browser because I have tried this with 
> opera 6,opera 7,
> IE and NN with the same results...
> But when i checked the phpinfo() it says that cookies are 
> enabled....Do you
> think its worth it to search and replace each Location header 
> with .SID?

Absolutely: just consider a user who has deliberately blocked all cookies in their 
browser options -- even if your server is set to use cookies by default, if 
session.use_trans_sid has not been disabled, PHP will detect that the user is blocking 
cookies and revert to passing the SID (aka PHPSESSID) in the URL.  If you have a URL 
that PHP is unable to rewrite for any reason (such as because it's in a 
header('Redirect: ...') string), if you haven't manually concatenated the SID constant 
to that URL, the session will "disappear" at that point.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford,  Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS,  LS6 3QS,  United Kingdom
Email: [EMAIL PROTECTED]
Tel: +44 113 283 2600 extn 4730      Fax:  +44 113 283 3211 

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

Reply via email to