49
I'd like to add a "remember me" checkbox option before logging in.
What is the best way to securely store a cookie in the user's browser?
For example, Facebook have their "remember me" checkbox so that every time you enter facebook.com you are already logged in.
My current login uses simple sessions.