i'm not 100% sure what the manual means when it says...
session.gc_maxlifetime integer
session.gc_maxlifetime specifies the number of seconds after which data will
be seen as 'garbage' and cleaned up. Garbage collection occurs during
session start.
what event exactly does the "after which" here r
- Original Message -
From: "Shaw, Chris - Accenture" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Friday, September 09, 2005 7:21 PM
Subject: RE: [PHP] session.gc_maxlifetime
-Original Messa
> Also, I thought you could use ini_set to change your php.ini
configuration
> for your current script.
>
> But I could be wrong... Did I miss read the manual?
ini_set() can be used to change *some* settings. Some items that are
configured in php.ini come into play before the script is parsed,
> -Original Message-
> From: Gustav Wiberg [mailto:[EMAIL PROTECTED]
> Sent: 09 September 2005 14:40
> To: PHP General
> Subject: [PHP] session.gc_maxlifetime
>
>
> *
>
> This e-mail has been received by the R
Hi there!
This setting...
session.gc_maxlifetime can only be set in php.ini
Default = 1440 = 24 minutes
is the time before a cookie expires? Is this right?
I don't have access to php.ini because it's not my server (it's my webhost)
What's the solution to that? I want the cookie to last as long a
> From: Suhas <[EMAIL PROTECTED]>
>
> My general understanding is a session can be idle for
> 1440 seconds. If a php page tried to refer to a session
> which is been idle more than
> 1440 seconds, there is very little chance that page will
> access to session data.
Not quite. As long as a sessio
dler routines;
http://www.php.net/manual/en/function.session-set-save-handler.php
There are lots of other good tutorials in books on php programming.
Warren Vail
-Original Message-
From: Suhas [mailto:[EMAIL PROTECTED]
Sent: Monday, October 04, 2004 9:30 AM
To: php-g
Suhas wrote:
Hello,
I just want to make sure that I understand this concept.
When i read thr' docs,
session.gc_maxlifetime specifies the number of seconds after which
data will be seen as 'garbage' and cleaned up
and default value is 1440.
My guess is :
A. 1440 seconds from last visit to the page
Hello,
I just want to make sure that I understand this concept.
When i read thr' docs,
session.gc_maxlifetime specifies the number of seconds after which
data will be seen as 'garbage' and cleaned up
and default value is 1440.
My guess is :
A. 1440 seconds from last visit to the page (where
Hello Jeff,
Thursday, March 25, 2004, 2:40:04 PM, you wrote:
JS> I'm just wondering about this setting for the Session management
JS> functionality. To wit, will the session timer keep getting 'reset', so
JS> that as long as a user is still accessing my site, the session doesn't
JS> expire? O
Hello,
I'm just wondering about this setting for the Session management
functionality. To wit, will the session timer keep getting 'reset', so
that as long as a user is still accessing my site, the session doesn't
expire? Or will the session 'die' after the amount of time specified by
this s
It depends on your requirement. For me 1440 sec is too short.
I'll set it to little over 1 hour because login timeout is 1 hour.
If you have login/logout system using session, the value better to be
larger than login timeout.
Regards,
PS: You might want to set gc probability around 10%. Depends
what is the standard with setting the amount of time in
session.gc_maxlifetime it has defaulted to 1440 (24 mins) is that considered
long enough?
Peter Houchin
[EMAIL PROTECTED]
=
_ __ /\
/_/_/_\
13 matches
Mail list logo