To read the article online, visit http://www.4GuysFromRolla.com/webtech/080899-1.3.shtml

Password Protecting Your Site

By Rob Taylor


Logging On Password File Invalid File Monitoring the Visit

Invalid.asp

<!--#include file = "enter.asp"-->
<%
Response.write ("<CENTER>" & "You have entered an invalid email address or password. Please try again" & "</CENTER>")
%>

All this code does is include the Response.write statement on the enter.asp file. The user is told his password/address is incorrect and he must try to log in again.

You can view the contents of the invalid.asp file

If the user did not go here, then he was let in and we now can easily monitor his visit

Logging On Password File Invalid File Monitoring the Visit


Article Information
Article Title: Password Protecting Your Site
Article Author: Rob Taylor
Published Date: Sunday, August 08, 1999
Article URL: http://www.4GuysFromRolla.com/webtech/080899-1.3.shtml


Copyright 2017 QuinStreet Inc. All Rights Reserved.
Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers