PDA

View Full Version : What is a sessionhash ?


8utt
01-19-2008, 10:52 AM
Whats the difference between

SESSION_IDHASH
and
SESSION_HASH

The session hash is created uniquely once every visit ?
The session Idhash is created uniquely for the same computer ?

So if I visit the same site from the same computer i get a new session hash but keep the same session idhash ?

If someone could put me right or confirm that thats how its supposed to work that would be great.

Opserty
01-19-2008, 11:07 AM
define('SESSION_IDHASH', md5($_SERVER['HTTP_USER_AGENT'] . $this->fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session
IP + browser basically.

8utt
01-19-2008, 06:14 PM
so any ideas on a session hash ?

What I was thinking was say I come on here, I get a session hash and a session idhash.
If I leave the site and return back to it in 8 hours time on the same pc and ip

Do I get a new sessionhash but keep the session idhash ?

Opserty
01-19-2008, 06:31 PM
Yeah I think it is something like that.

https://vborg.vbsupport.ru/showthread.php?t=100285#5

Dismounted
01-21-2008, 04:07 AM
<a href="https://vborg.vbsupport.ru/showpost.php?p=1348192&postcount=4" target="_blank">https://vborg.vbsupport.ru/showp...92&postcount=4</a>