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

From: Date: Wed, 18 May 2005 16:58:04 +0000
Subject: Re: Re: why are session only working with cookies?
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-215501@lists.php.net to get a copy of this message
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.

« previous php.general (#215501) next »