Posted by "Stanislav Kuhn" on 09/19/05 15:13
session_start();
if (empty($_SESSION['start_time'])
$_SESSION['start_time']=time();
echo $_SESSION['start_time'];
-----Original Message-----
From: Eli [mailto:eli.hen@gmail.com]
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
[Back to original message]
|