Re: Destroying session data
| From: | Philip Thompson | Date: | Thu, 23 Dec 2004 21:26:06 +0000 |
| Subject: | Re: Destroying session data | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205102@lists.php.net to get a copy of this message | ||
On Dec 23, 2004, at 2:59 PM, Matt M. wrote:
I'm using 4.3.8I have multiple pages on a website that uses sessions ($_SESSION) to store the data. However, I noticed that in the C:\Windows\Temp directory, all the session variables/data files are stored there from previous (and current) sessions.what version of php are you using?
this might be coming into play: http://us4.php.net/session session.gc_maxlifetime integerOkay, lemme see if I understand how it works. Even if it "sees" it as garbage, it will not destroy it until the session has ended? or will destroy when that time is reached? So can I set session.gc_maxlifetime to be a low number (e.g., 10 seconds) and it will still behave appropriately? Currently, it's set to the default - 1440. ~Philipsession.gc_maxlifetime specifies the number of seconds after whichdata will be seen as 'garbage' and cleaned up.