View Full Version : Question about the sessionhash.
Say im linking action=getnew to search a certain forum. Ive heard that in this case the sessionhash dosent matter. However I thought that the sessionhash sould be used in all links inside vbulletin?. In this case whitch would be correct and why?
1. search.php?action=getnew&forumid=1
or
2. search.php?s=$session[sessionhash]&action=getnew&forumid=1
doesnt really matter. I have used both without any problems. The sessionhash is just there to look professional *choak*
DrkFusion
11-10-2002, 07:33 PM
No it works....I ++++ed up my board :'(
I did something now I get logged out when any url on the board doesn't have the session hash..How can I fix this to before? Please anyone :'( When I use cookies, I get logged out every single time I click anything :'( I am really Sad
-Arunan
assassingod
11-10-2002, 08:45 PM
Originally posted by Neo
The sessionhash is just there to look professional *choak*
Isnt it there to stop the user from going over 300 cookies? :dead:
Chris M
11-10-2002, 09:01 PM
@Arunan - Is that why?
:(
I dont know:(
Satan
Erwin
11-10-2002, 09:03 PM
Originally posted by Neo
doesnt really matter. I have used both without any problems. The sessionhash is just there to look professional *choak*
I assume you are kidding. :)
The sessionhash is a way that PHP can use other than cookies to keep a user logged in.
If a user has turned cookies off or is surfing behind a proxy, sessionhash can keep the user logged in.
However, if you make all your users turn cookies on, and they are not behind a proxy, then you don't need sessionhash.
@ Arunan:
Delete all your cookies in your browser, make sure cookies are on, and log in again. That should fix it.
DrkFusion
11-10-2002, 09:08 PM
I tried that :cry:
-Arunan
Chris M
11-10-2002, 09:12 PM
Yeh:(
Satan
DrkFusion
11-10-2002, 09:13 PM
It happens to all the users on the board.
Chris M
11-10-2002, 09:15 PM
And in the Admin Panel...
Satan
DrkFusion
11-10-2002, 09:21 PM
Basically before when we were logged in we would be able to take part in stuff that didn't have the sessionhash, now if it doesn't we get logged out :-/
Erwin
11-10-2002, 10:08 PM
Did you change your cookie domain and/ or cookie path? Make sure they are set correctly.
Domain:
.yourforums.com
and
Path:
/
Originally posted by assassingod
Isnt it there to stop the user from going over 300 cookies? :dead:
But isnt more cookies better? What about milk?
Erwin
11-10-2002, 11:34 PM
Cream. Cookies and cream. Yummy. ;)
DrkFusion
11-11-2002, 12:17 AM
The Cookie domain and stuff are set correctly...still same prob :-/
assassingod
11-11-2002, 02:53 PM
Originally posted by Neo
But isnt more cookies better? What about milk?
Lol! :classic:
Logician
11-13-2002, 09:39 AM
Originally posted by Anime-loo
Say im linking action=getnew to search a certain forum. Ive heard that in this case the sessionhash dosent matter. However I thought that the sessionhash sould be used in all links inside vbulletin?. In this case whitch would be correct and why?
1. search.php?action=getnew&forumid=1
or
2. search.php?s=$session[sessionhash]&action=getnew&forumid=1
Restrict guest searching..
Login to your board with a user account
Follow the first link above which is without sessionid
And you'll understand why you need to use the second one..
:glasses:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.