RE: [PHP] How do I prevent a session from rebuilding itself?

From: Date: Wed, 12 Jul 2006 20:32:24 +0000
Subject: RE: [PHP] How do I prevent a session from rebuilding itself?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-239370@lists.php.net to get a copy of this message
> > I would expect that if I 'rm -rf /tmp/sess_*' that the user > would get > > prompted to re-login (since the flag is not set). > > Does it say someplace in the manual that you should be able > to do that? > Or is this a case of what you expect is not what the rest of the world > expects? This is how it used to work. I know this, because (as mentioned in other email), we have a custom bug tracker and people were being randomly logged out it seemed. Well turns out a cronjob was periodically deleting all the sess_ files. Basically all I want is that if the sess_ file is gone, then PHP should NOT create a new one. It should only save it's memory out to the same sess_ file with the same session ID.

« previous php.general (#239370) next »