tags:

views:

75

answers:

1

Hello, so I have my loginsystem for now.

Now im coming to where i'd like to have a remember me that you can "check", before you log in. Now i know how to do this checkbox, but how store cookie to the user in the right way, secure and best way? I mean like facebook have their remember me checkbox, and when you have checked that once everytime you enter facebook.com you are already logged in, that's how I want it.. Just like SO, gmail and so on i can make the list long..

It's a normal login system I made, with simple sessions for now..

Thank you

+3  A: 

This question gets asked a lot, here's some links for you.

There also some great resources collected together in the answer to this question: The Definitive Guide To Website Authentication

Paul Dixon