php user autologin
<p>Can't find answer to my question.
I'm creating registration and need autologin for user with cookie.
What kind of information should be stored in cookie? Is it username + hash password or what</p>
