»Obviously, cookies is the only adequate way to authenticate users.«
What's wrong with HTTP Authentication?
What's wrong with HTTP Authentication?
If browsers handled HTTP logout nicely, by displaying a prominent logout button somewhere, then developers' jobs would be far easier.