Re: sessions failing to persist

From: Date: Mon, 03 May 2004 04:54:54 +0000
Subject: Re: sessions failing to persist
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-185161@lists.php.net to get a copy of this message
Michael R. Wayne wrote:
As I posted last week, I seem unable to have sessions persist. I have ruled out https as a problem, the following simple script, installed as xxx.php will generate a new session number every time the field is filled in and "Submit" is hit. Note that I am not using cookies, the relevant session variables are:
   Session Support              enabled
   session.auto_start           On
   session.use_cookies          Off
   session.use_trans_sid        On
When run, the session file appears to contain stage=1 but never is being read. I suspect I'm missing something obvious, any pointers?
I copy and pasted your code, and didn't get the results you described above. Basically, it all worked fine on my box (and now I have to go put my ini settings back to my normal values ;) Is this a *nix or Windows machine? Is your session directory writable by the webserver user? -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#185161) next »