Re: sessions failing to persist
| From: | Michael R. Wayne | Date: | Mon, 03 May 2004 04:56:11 +0000 |
| Subject: | Re: sessions failing to persist | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185162@lists.php.net to get a copy of this message | ||
On Mon, May 03, 2004 at 12:54:54AM -0400, John Nichel wrote:
> 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?
FreeBSD 4.8 Unix. Yes, the session directory is writable and the
files are getting properly written to that directory - the problem
is that they are never being read (so each time I click Submit, I
get a new session ID).
/\/\ \/\/