Re: [PHP] Destroying session data

2004-12-29 Thread Jason Barnett
this might be coming into play: http://us4.php.net/session session.gc_maxlifetime integer session.gc_maxlifetime specifies the number of seconds after which data will be seen as 'garbage' and cleaned up. Okay, lemme see if I understand how it works. Even if it "sees" it as garbage, it will n

Re: Re: [PHP] Destroying session data

2004-12-23 Thread John Holmes
From: Philip Thompson <[EMAIL PROTECTED]> > On Dec 23, 2004, at 2:59 PM, Matt M. wrote: > > this might be coming into play: > > http://us4.php.net/session > > > > session.gc_maxlifetime integer > > > > session.gc_maxlifetime specifies the number of seconds after which > > data will be seen a

Re: [PHP] Destroying session data

2004-12-23 Thread Philip Thompson
On Dec 23, 2004, at 2:59 PM, Matt M. wrote: I 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

RE: [PHP] Destroying session data

2004-12-23 Thread Vail, Warren
> > Okay, 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 > approp

RE: [PHP] Destroying session data

2004-12-23 Thread Vail, Warren
Closing the browser sends nothing to the webserver and with most webservers, the server has forgotten that you were ever there. When using sessions, you connect your browser and request a page, and that request is accompanied with a session key that is stored in a cookie on the browser machine by

Re: [PHP] Destroying session data

2004-12-23 Thread Matt M.
> I 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 comin

Re: [PHP] Destroying session data

2004-12-23 Thread Philip Thompson
On Dec 23, 2004, at 3:40 PM, John Holmes wrote: From: Philip Thompson <[EMAIL PROTECTED]> On Dec 23, 2004, at 2:59 PM, Matt M. wrote: this might be coming into play: http://us4.php.net/session session.gc_maxlifetime integer session.gc_maxlifetime specifies the number of seconds after which d

Re: [PHP] Destroying session data

2004-12-23 Thread John Holmes
> From: Philip Thompson <[EMAIL PROTECTED]> > My question is: when the session is "logged out" or ended (via closing > the browser or however), should these data files (which look like > sess_fd983aedf93ceeioa8332890bcd, etc) not be destroyed? If not, is > there a way to automatically destroy t