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
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
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
>
> 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
3, 2004 12:45 PM
> To: php-general@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 sessio
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
> 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
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
> 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
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 a
]>
To: "Binay" <[EMAIL 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
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. Yo
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 pro
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.
"
?>
Any ideas why I'm getting these 2 sy
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 cer
16 matches
Mail list logo