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
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
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
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
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
@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
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?
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
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
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
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
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
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
Hi all,
How can I configure the session to get destroyed, if not being used from past 10 mins.
Thanks in advance
binay
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
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
16 matches
Mail list logo