I just come to do some test this afternoon and here are the results.
Now : '.date('H:i:s');
?>
Reload
And here are the results :
session.use_cookie = 0;
session.gc_maxlifetime = 30; // 30 seconds
session.gc_probability = 100; // 100% => the gc is always called
On page 2, I have :
Array ( [begi
On Wed, 24 Sep 2003 11:42:12 +0200
Cranky <[EMAIL PROTECTED]> wrote:
> Hello,
> Is it possible to determine a lifetime for the session in the case
> of a cookie-less sessions ?
>
> Thanks for your help.
>
In my sessions I set an "expire time", which is the current time
(unix timestamp) plus the
session.gc_maxlifetime integer
session.gc_maxlifetime specifies the number of seconds after which
data will be seen as 'garbage' and cleaned up.
Note: If you are using the default file-based session handler,
your filesystem must keep track of access times (atime). Windows FAT
does
Becoming Digital wrote:
I just took a thorough look at the Session Handling section in the manual. I couldn't even find any mention of non-cookie session lifetimes. I get the impression they either die on broswer close or have a fixed lifetime that cannot be changed. Hopefully someone can prove
only for amusement value. ;)
Edward Dudlik
Becoming Digital
www.becomingdigital.com
- Original Message -
From: "Cranky" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, 24 September, 2003 05:42
Subject: [PHP] Lifetime with cookie-less sessions
Hello,
Is
Hello,
Is it possible to determine a lifetime for the session in the case of a
cookie-less sessions ?
Thanks for your help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo