By default the page after login.php is authorize.php which just checks the information then sends it off to index.php. From index.php I cannot get to my page 'volunForm.php', it just redirects me back to the login page. This is my first ever login system and my first time using sessions. Am I doing it all wrong? Is there a way I can make my sessions expire after certain time automatically and more importantly getting them to work across pages. index: http://pastebin.com/Rc5zUJMA volunForm: http://pastebin.com/Z65L7dZu authorize: http://pastebin.com/aHfdYwLM I was able to go to volunForm earlier from index with no problem but now it will not work at all. I don't think I changed anything, I am not quite sure why it won't work. Edit: I got it working using cookies instead of sessions, is this a good idea or should I get sessions working?