How to Create a Password-Protected Web Page

D

Darrell

I require assistance creating a password protected web
page that has the user name and password stored in a table
in a SQL Database. Any assitance would be greatly
appreciated.

Thanks
 
C

clintonG

You may have to hire this out, buy a generic solution or spend
some time reading articles you can find via Google as the entire
task can be quite involved depending on the circumstances.

It is common for example to build the login and the response all
in the same page. When the form is submitted it simply submits
itself to the same page it is located within.

--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin USA
NET (e-mail address removed)
URL http://www.metromilwaukee.com/clintongallagher/
 
G

Guest

I use a script that is at the top of the protected ASP
page.

<%
if Session("SessionAccount")<>"test" then
Response.Redirect("login-failed.asp")
end if
%>


the session variable is created when the name and password
are looked up in the data base.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top