[PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Cranky
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

Re: [PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Becoming Digital
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

Re: [PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Leif K-Brooks
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

Re: [PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Marek Kilimajer
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

Re: [PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Raquel Rice
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

Re: [PHP] Lifetime with cookie-less sessions

2003-09-24 Thread Cranky
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