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 tutorial. 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.
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.
Thanks in advance.