The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
v3.8.1 logouthash
Hey,
Does anyone know how the logouthash is created in v3.8.1? I have found this thread: https://vborg.vbsupport.ru/showthread.php?t=101601 but it seams quite dated so I was wondering if there was anything new (as I believe there to be) and how they make it now. Thanks! |
#2
|
||||
|
||||
AFAIK, it is simply the session token now.
|
#3
|
|||
|
|||
Whats the session token and where do I find it? Its not the session id, and not the session hash that are in the session table so where do I get the token?
Also, I don't think its just the session token. If you try to logout with a blank logouthash it gives you an error and says "click here to logout" and the link has a new logouthash on it. But if you refresh the page the logouthash changes so if it was just based on the session id then it would not change. Also, look at how it looks: 1247739885-e72547c8fad34e0149248154a4ade6e3f9dd5542 it looks like an id of some sort and then a hash of well...something. Any other ideas as to where I can find this mysterious logouthash creation code? |
#4
|
||||
|
||||
Sorry, I actually meant security token - not session.
|
#5
|
|||
|
|||
Aye, I have found this part out but I am wondering how the security token is created, stored, found, etc. I am sharing the session between the forum and our main site but on the main site I need the logout button and for this I require the logouthash / security token creation code.
--------------- Added [DATE]1247746146[/DATE] at [TIME]1247746146[/TIME] --------------- Never mind, I found the code! To create the securitytoken (which is the logouthash) you do this: PHP Code:
|
#6
|
||||
|
||||
Note that the cookie salt is your license number.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|