Copy all that code above into your code editor so you can read it easier with syntax highlighting, I still haven't figured out how to display php code with syntax highlighting in this forum! Make sure you use session_start(); at the top of all pages where you want to check for logged in users with a bit of extra code... You must be logged in to view this page