title: PHP Sessions Login with remember me
body: <p>Ive got a PHP Registration/Login system using PHP Sessions which is working perfectly, I want the user to be able to tick remember me and then they stay logged in forever or at least a week or something.</p>
  
  <p>Im guessing I need to store a cookie and check, I was confused at what I actually need to store in the cookie. If I store the userid or username then can't someone just use a fake cookie to look at another users data?</p>
  
  <p>Any advance is appreciated.</p>