Re: [PHP] Pasword Protecting several pages

2008-07-21 Thread tedd
At 7:44 PM -0700 7/20/08, R.C. wrote: No database, but just sessions? I looked at those and also Tedd was kind enough to send something but for some reason I can't get it to go. Can someone forward some good instructions on how to accomplish this task? I would greatly appreciate it. Still learn

Re: [PHP] Pasword Protecting several pages

2008-07-20 Thread Micah Gersten
checkLogin.php info.php login.php Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com R.C. wrote: > Thank you Micah, > > Could you give me some code on that? > > Ref > > "Micah Gersten" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >>

Re: [PHP] Pasword Protecting several pages

2008-07-20 Thread R.C.
Thank you Micah, Could you give me some code on that? Ref "Micah Gersten" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Set a session variable after the login has been confirmed and check for > it at the beginning of every page. If it's not set, then redirect to login. > > Thank

Re: [PHP] Pasword Protecting several pages

2008-07-20 Thread Micah Gersten
Set a session variable after the login has been confirmed and check for it at the beginning of every page. If it's not set, then redirect to login. Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com R.C. wrote: > I'm still trying to get this scenario worked out

[PHP] Pasword Protecting several pages

2008-07-20 Thread R.C.
I'm still trying to get this scenario worked out and don't seem to be able to get it done. Here's what I'm trying to do: User logs into a login page and inputs email address and password. User accessess password protected page, which contains a few links. User clicks on one of the links, opens p