Re: [PHP] Lifetime

2013-02-26 Thread shiplu
Constants are available as long as the PHP process is executing. Destructors are called before a class instance is being wiped out from memory. But it does not remove a class or undefine a class. It works with instance. So a class constant never gets undefined. It stays with class definition.

[PHP] Lifetime

2013-02-26 Thread Brian Smither
I'm curious to know what the lifetime of a constant is. I know that sounds like a stupid question, but the context is this: I have a file I am writing to up to the very last possible micro-second. As such, I know that as PHP is destroying itself after having executed the last statement in the p

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. 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

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

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 does

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 prove

Re: [PHP] Lifetime with cookie-less sessions

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

[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