Re: [PHP4BETA] Session vars in /tmp/sess_*: how long? how removed?

From: Date: Wed, 15 Mar 2000 23:06:05 +0000
Subject: Re: [PHP4BETA] Session vars in /tmp/sess_*: how long? how removed?
References: 1 2 3  Groups: php.version4 
Request: Send a blank email to php-version4+get-12189@lists.php.net to get a copy of this message
On Wed, 15 Mar 2000, Chris Shenton wrote: > Oh, you mean these: > > session.gc_probability = 1 ; procentual probability that the > ; 'garbage collection' process is started > ; on every session initialization > session.gc_maxlifetime = 1440 ; after this number of seconds, stored > ; data will be seen as 'garbage' and > ; cleaned up by the gc process > > > Yikes. So on 1% of the session startups, session files /tmp/sess_* > containing session data older than 1440/60 = 24 minutes will be > removed? No, 1 = 100%. > Sounds like I need to increase the amount of time significantly, since > several hours may elapse in my application between the time the user > registers, does a file upload, then the file upload finally completes. > > > How is this gc_maxlifetime counted? From when the session variable was > registered, or last accessed, or last read, or what? From when the session was last saved. -Andrei If you find a job that you love, you'll never work another day in your life. - Mark Jackson

« previous php.version4 (#12189) next »