RE: Session creation time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



session_start();

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


echo $_SESSION['start_time'];


-----Original Message-----
From: Eli [mailto:eli.hen@xxxxxxxxx]
Sent: 19 September 2005 13:21
To: php-general@xxxxxxxxxxxxx
Subject:  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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux