| 
 Posted by Jason Barnett on 06/17/84 11:16 
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.
 
  
Navigation:
[Reply to this message] 
 |