|
Posted by DC on 01/20/06 16:42
It seams that I'm only having my session_id problem when "session.cookie_secure" is true.
to emulate what is happening, I ran the following from the command line:
(the webdeveloper plugin for firefox confirms the same thing is happening in the browser)
"sudo -u apache php /path/to/website/session_test.php"
When session.cookie_secure = true ( Session ID changes every time i refresh the page)
I get this:
Content-type: text/html
Set-Cookie: PHPSESSID=2936ca56baebc8ef01e0fed93cf15a82; path=/; secure
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, max-age=10800, pre-check=10800
Last-Modified: Thu, 19 Jan 2006 17:35:44 GMT
When session.cookie_secure = false (Session ID remains the same like it should when refreshing the page)
I get this:
Content-type: text/html
Set-Cookie: PHPSESSID=0439f6dc5efab92a2b4c764a3d1ac077; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private, max-age=10800, pre-check=10800
Last-Modified: Thu, 19 Jan 2006 17:35:44 GMT
Also, whats up with that date???
Navigation:
[Reply to this message]
|