session_start();

if (empty($_SESSION['start_time'])
  $_SESSION['start_time']=time();


echo $_SESSION['start_time'];


-----Original Message-----
From: Eli [mailto:[EMAIL PROTECTED]
Sent: 19 September 2005 13:21
To: php-general@lists.php.net
Subject: [PHP] Session creation time


How can I get the first creation time of a session (the time a session 
was first started)?

-thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to