Re: Re: why are session only working with cookies?

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

 



Brian V Bonini wrote:
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:

Let him fight with phpIniDir some other day.


Something interesting maybe:
http://gfx.gfx-design.com/session_test.php
Hit your browsers refresh button.

I would think SID is NOT supposed to change with every page refresh..??


Except that the SID is NOT in any POST / GET parameter. So since PHP doesn't recieve a SID on any refresh, it assumes that it is starting a new session each time. This is expected behavior.


Try creating a POST form instead and see what happens when you submit that form. Refreshing the page without a SID anywhere won't do anything.

--
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