title: php user autologin
body: <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>