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.