Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 18 Jun 2007, 22:09
Osterling Osterling is offline
 
Join Date: Jan 2004
session => sessionhash

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?
Reply With Quote
  #2  
Old 19 Jun 2007, 03:59
Antivirus's Avatar
Antivirus Antivirus is offline
 
Join Date: Sep 2004
that's just the session ids which are used instead of cookies for users browsing your forums
__________________
Please feel free to PM me about custom work, installations, and upgrades!

Eclipse Records - Streetcult Street Team
Reply With Quote
  #3  
Old 19 Jun 2007, 15:48
Osterling Osterling is offline
 
Join Date: Jan 2004
How about lastactivity?
Reply With Quote
  #4  
Old 20 Jun 2007, 08:10
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
It's a Unix Timestamp (seconds from Epoch).
__________________
View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #5  
Old 20 Jun 2007, 12:23
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Real name: Nico
Originally Posted by Dismounted View Post
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
Reply With Quote
  #6  
Old 20 Jun 2007, 16:36
Osterling Osterling is offline
 
Join Date: Jan 2004
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?
Reply With Quote
  #7  
Old 20 Jun 2007, 18:41
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Real name: Nico
With the date() function.

www.php.net/date
Reply With Quote
  #8  
Old 20 Jun 2007, 19:39
Osterling Osterling is offline
 
Join Date: Jan 2004
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.
Reply With Quote
  #9  
Old 20 Jun 2007, 20:12
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Real name: Nico
Look at the link I posted:

string date ( string $format [, int $timestamp] )

Which would be similar to:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #10  
Old 21 Jun 2007, 07:11
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Originally Posted by nico_swd View Post
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?".
__________________
View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #11  
Old 21 Jun 2007, 09:50
nico_swd's Avatar
nico_swd nico_swd is offline
 
Join Date: Dec 2005
Location: Spain
Real name: Nico
Sorry... my bad.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 06:50.

Layout Options | Width: Wide Color: