View Single Post
Old 10-21-2008, 10:33 AM   #1 (permalink)
Hudson
The Wanderer
 
Hudson's Avatar
 
Join Date: Sep 2008
Posts: 8
Thanks: 1
Hudson is on a distinguished road
Default Securing area of site

Hello all, hope everyone is well.

I need to password protect an area of my site which contains multiple pages.

I've sorted out the log in system without problem, but I now need to think about how to check to see if a user has logged in.

For example, I don't want people to be able to go directly to www.mysite.com/secretarea/apage.html so I'm guessing I'd need something in each page of the secret area which checks to see if the user has come via the log in, or simply navigated straight there. If it's the latter, I need to kick them back to the log in form.

Does that all make sense? I'm sure this is a real n00b question, but I could do with a pointer in the right direction.

Thanks muchly all
Hudson is offline  
Reply With Quote