I am hoping that there is an easy way to do this...
I'd like to have be able to write to an .htaccess file and verify that a page and/or directory listed there has passed my login, where I set PHP session variables. For example, if I have 50 pages on a web site, I want to able to specify w/ the .httaccess file which pages should be be protected.
So if a user goes back to a page that is listed there, it would kick him/her back to the login page. That would prevent them from having to add a snippet of code to to the top of every page that they'd like to protect, wouldn't it?
Thanks,
Shaun