[PHP] Re: Session time out

2005-03-17 Thread Jason Barnett
Jacques wrote: > Is session time measured in seconds or minutes? > seconds -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-general&w=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=ph

[PHP] Re: Session time out

2005-03-17 Thread Jacques
Is session time measured in seconds or minutes? Regards Jacques "Jacques" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > What is the life time of a PHP session object (variable)? Which > conditional test can I perform to check if the session object has timed > out? > > Jacque

[PHP] Re: Session Time

2003-02-10 Thread Bobby Patel
What you could do, is get the current time stamp using time() or date() and create a sesion variable with this value, when they login (and the session is created. Then when they logout, and the sesion is destoyed get the current time stamp again and minus it from the start time. Note: This requir