session cookies seem to be unavailable
Posted: Thu May 01, 2003 7:29 am
I'm coding a simple CMS on my local Win2000 machine and for some reason sessions are always displayed in the URL (PHPSESSID=...).
This doesn't cause problems per se, but I'd prefer to have the session id contained in cookies. (If only for a more clean URL).
My php.ini has both
session.use_cookies = 1
and
session.use_trans_sid = 1
(basically unchanged from the original php.ini except for session.save_path = "c:/apacheroot/tmp")
It's my understanding that this way the server should use cookies if possible and then URL as second choice?
This doesn't seem to be a browser based problem as this behaviour occurs both in my IE6 and Opera6 - and neither should be turning down offered cookies.
Any suggestions?
This doesn't cause problems per se, but I'd prefer to have the session id contained in cookies. (If only for a more clean URL).
My php.ini has both
session.use_cookies = 1
and
session.use_trans_sid = 1
(basically unchanged from the original php.ini except for session.save_path = "c:/apacheroot/tmp")
It's my understanding that this way the server should use cookies if possible and then URL as second choice?
This doesn't seem to be a browser based problem as this behaviour occurs both in my IE6 and Opera6 - and neither should be turning down offered cookies.
Any suggestions?