Ren
asked on
Front Page 2000 Problem with Password Restriction
Hi Experts!
I am having some trouble with Front Page Passwords, and I am hoping that you can help!
I have a simple survey that I created in Front Page. However, I need to first have the potential users enter a generic, universal passcode in order to gain access to the site. (This is to keep the responses limited to those who receive requests).
What I tried:
My thought was to set up a page that simply requests the passcode ("Survey2004") in a simple textbox. I set up the textbox to only accept responses equal to "Survey2004". Upon entering the correct passcode, they should be taken them to the survey. Upon entering the wrong passcode, I set up the confirmation page to tell them that their passcode is wrong and please try again.
What happened:
1. Upon entering the right passcode, the user is directed to a page other than the survey. ???
2. Upon entering the wrong passcode, a messagebox appears that tells them what the password should be. ???
3. Upon leaving the passcode empty, they are directed to the confirmation page that tells them that their passcode is wrong and please try again. ???
I look forward to hearing from you about how to fix this issue. The timeframe involved is certainly tight.
Thanks in advance! --Ren
I am having some trouble with Front Page Passwords, and I am hoping that you can help!
I have a simple survey that I created in Front Page. However, I need to first have the potential users enter a generic, universal passcode in order to gain access to the site. (This is to keep the responses limited to those who receive requests).
What I tried:
My thought was to set up a page that simply requests the passcode ("Survey2004") in a simple textbox. I set up the textbox to only accept responses equal to "Survey2004". Upon entering the correct passcode, they should be taken them to the survey. Upon entering the wrong passcode, I set up the confirmation page to tell them that their passcode is wrong and please try again.
What happened:
1. Upon entering the right passcode, the user is directed to a page other than the survey. ???
2. Upon entering the wrong passcode, a messagebox appears that tells them what the password should be. ???
3. Upon leaving the passcode empty, they are directed to the confirmation page that tells them that their passcode is wrong and please try again. ???
I look forward to hearing from you about how to fix this issue. The timeframe involved is certainly tight.
Thanks in advance! --Ren
This is a great KB article that provides code and all to create the pages you are attempting to create.
Use Simple ASP Code to Password Protect Your ASP Pages
http://support.microsoft.com/default.aspx?scid=kb;en-us;301464
RCMB
Use Simple ASP Code to Password Protect Your ASP Pages
http://support.microsoft.com/default.aspx?scid=kb;en-us;301464
RCMB
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
That's pretty sweet code :-)
Thanks for the feedback. I use this frequently but it is limited to a single login and password.
Have a great day!
Curtis (aka RCMB)
Have a great day!
Curtis (aka RCMB)
Well - since the question states:
I need to first have the potential users enter a generic, universal passcode
I think you hit it on the nose. Thanks Curtis :-)
I need to first have the potential users enter a generic, universal passcode
I think you hit it on the nose. Thanks Curtis :-)
ASKER
That was exactly what I needed.
Thanks for your help!
--Ren
Thanks for your help!
--Ren
Please post the script you're using to accomplish this (ASP, etc.)
Thanks,
Sean