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
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 it possible to determine
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
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
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 number
I just come to do some test this afternoon and here are the results.
page_1.php
?php
session_start();
$bar = 'hello';
$now = date('H:i:s');
$_SESSION['foo'] = $bar;
$_SESSION['begin'] = $now;
header('Location: page_2.php?'.SID);
exit;
?
page_2.php
?php
session_start();
print_r($_SESSION);
echo
6 matches
Mail list logo