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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux