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

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 them

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

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 coming

[PHP] Destroying session data

2004-12-23 Thread Philip Thompson
Hi all. 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. My question is: when the session is logged out or

RE: [PHP] Destroying session data

2004-12-23 Thread Vail, Warren
@lists.php.net Subject: [PHP] Destroying session data Hi all. 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

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 appropriately?

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: 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 as 'garbage' and

Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread Jason Wong
On Tuesday 21 October 2003 13:55, Binay wrote: How can I configure the session to get destroyed, if not being used from past 10 mins. Sessions are destroyed automatically. You set the session life-time in php.ini with session.gc_maxlifetime. If you want to force the issue, then you'll

Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread CPT John W. Holmes
From: Binay [EMAIL PROTECTED] How can I configure the session to get destroyed, if not being used from past 10 mins. If you're using the default session handler, the session files are cleaned up after not being used for 1440 seconds (by default), and the session is basically destroyed. You can

Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread Binay
PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 5:08 PM Subject: Re: [PHP] Destroying session if not being used from past 10 mins. From: Binay [EMAIL PROTECTED] How can I configure the session to get destroyed, if not being used from past 10 mins. If you're using the default

Re: [PHP] Destroying session if not being used from past 10 mins.

2003-10-21 Thread CPT John W. Holmes
From: Binay [EMAIL PROTECTED] Is it possible to increase the probability which is by default 1% to 99 % and make sure that session are destroyed after 10 mins by setting session.gc_maxlifetime to 600. I wouldn't recommend that, but you could. The setting to 600 is fine, but I wouldn't adjust

[PHP] Destroying session if not being used from past 10 mins.

2003-10-20 Thread Binay
Hi all, How can I configure the session to get destroyed, if not being used from past 10 mins. Thanks in advance binay

[PHP] Destroying Session Prob

2001-11-12 Thread Joe Van Meer
Hi again, I've just completed my logout process, everything is going great but after I log out (logout.php has session_start() followed by session_destroy(). ) I get two weird symbols printing out. One is like a box and the a B. My code is below. ?php session_start(); ? ?php

[PHP] Destroying Session

2001-07-27 Thread Richard Baskett
Ok having a problem. If a person just surfs to a page outside of my site or types in a different url etc.. then it leaves the session intact. How can I destroy that session? Will I need to create some type of apache/linux script to delete the directory with all the sessions in it that are a