sid

Discussion about the board itself, forums organization and site bugs.
Post Reply
User avatar
therube
Ambassador
Posts: 7929
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

sid

Post by therube »

http://forums.informaction.com/viewtopic.php?f=23&t=7296&sid=96eafa092dc2099a8c8558161821879

&sid=96eafa092dc2099a8c8558161821879

Does the sid maintain any kind of login status?

Because I copied that line into another instance of SeaMonkey (still 2.4) & it showed me as logged in?
(Did not work in FF or IE.)

Now that was unexpected.

Session ID
(This is not cookie related.)


(I tried to make the subject as obscure as dhouwn's but couldn't ;-).)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:7.0) Gecko/20110923 Firefox/7.0 SeaMonkey/2.4
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3365
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: sid

Post by GµårÐïåñ »

Simply put the sid is a session id tracker to ensure you are logged in, your UA hasn't changed, your ip is still the same, etc, etc. Its benign and if you use the link including the sid, no people won't be logged in as you, it will just make it easier when you are traversing the site that you don't get logged out, that's all. For example, if you are logged into the site, your ip changes (happens with ISP dynamic ip renews) it will log you out. If you change you UA mid-session, it will log you out, if you paste into another browser that doesn't have the logged in cookie information, it will prompt you to log in. So on. Its a way for the system to manage client/server requests with some degree of intelligence to make sure delivery, that's all.

ADD: Say I give you a link with MY sid in it RIGHT NOW, and you are also logged into the system (or not for that matter) and you use it, it will replace all subsequent requests with YOUR sid instead of the one I gave you. Its a way to "track" for lack of a better word, your requests within the session, that's it.

Links:

Developmental usage: http://wiki.phpbb.com/Function.append_sid
Another explanation of your question: http://www.phpbb.com/community/viewtopi ... &t=2092992
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/6.9 (Windows NT 6.9; rv:6.9) Gecko/69696969 Firefox/6.9
Post Reply