title: Maintaining a session over multiple pages
body: <p>I am having trouble designing a way to maintain a session with a cookie across multiple pages.  I am doing something very similar to this <a href="http://www.phpnerds.com/article/using-cookies-in-php/2" rel="nofollow">tutorial</a>.  I check the password and username from a splash page, and if it is correct then I set a cookie and fill it with a hash.  After that I transfer the user to a different page.  If the username/password was not correct then it just redirects back to the splash page.  </p>
  
  <p>The main problem I cannot figure out is how to check for the validity of the cookie across multiple pages.  As the tutorial suggests, I am doing this in PHP.  I suppose posting the hash to the new page is not correct, but I cannot think of any other way to check for the validity of the session/user before loading the page.  </p>
  
  <p>Thanks in advance.</p>