View Full Version : session => sessionhash
Osterling
06-18-2007, 09:09 PM
I am looking at my table (session), and checking out the data, for the session hash column I see strange numbers like these "79857fe54ba6af79e61cb23ff6af5ce6". Can anyone help me into figuring out what the exactly means? Is there a function I can run or something?
Antivirus
06-19-2007, 02:59 AM
that's just the session ids which are used instead of cookies for users browsing your forums
Osterling
06-19-2007, 02:48 PM
How about lastactivity?
Dismounted
06-20-2007, 07:10 AM
It's a Unix Timestamp (seconds from Epoch).
nico_swd
06-20-2007, 11:23 AM
It's a Unix Timestamp (seconds from Epoch).
Nope.
It's as said, a session ID. Which is an one-way encrypted MD5 string.
www.php.net/md5
Osterling
06-20-2007, 03:36 PM
Thanks. I see that this variable: $_SERVER['REQUEST_TIME'] will get me a Unix Time stamp. How can I translate that time stamp into something readable?
nico_swd
06-20-2007, 05:41 PM
With the date() function.
www.php.net/date
Osterling
06-20-2007, 06:39 PM
I tried that, but I don't know how to use the date() function to translate $_SERVER['REQUEST_TIME'] which produces a value of "1182368246" sometimes.
nico_swd
06-20-2007, 07:12 PM
Look at the link I posted:
string date ( string $format [, int $timestamp] )
Which would be similar to:
$date = date('dS M Y, H:i:s', $_SERVER['REQUEST_TIME']);
Dismounted
06-21-2007, 06:11 AM
Nope.
It's as said, a session ID. Which is an one-way encrypted MD5 string.
www.php.net/md5
Read the post above mine "How about lastactivity?".
nico_swd
06-21-2007, 08:50 AM
Sorry... my bad.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.