What I can think of is by IP address, but this won't work for corporations where everyone has the same address.
Otherwise cookies might work, but this will make faking happen easily here.
How exactly does SO do the job?
Meta Stack Exchange is a question and answer site for meta-discussion of the Stack Exchange family of Q&A websites. It only takes a minute to sign up.
Sign up to join this communityWhat I can think of is by IP address, but this won't work for corporations where everyone has the same address.
Otherwise cookies might work, but this will make faking happen easily here.
How exactly does SO do the job?
Yes, they use cookies. As everyone else. Even Google uses cookies. Microsoft too. No big deal. Session fixation is on paper indeed an easy hack. But you yet have to figure the actual cookie value and hope that it's not locked to a certain IP address. Now that is a hard hack. Guessing the password is easier.
Now, if you think you're so good, what's the cookie value of my SO account? Three .. two .. one .. NOW!