home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 September / INTERNET107.ISO / pc / projects / asppass / checklogin.asp next >
Encoding:
Text File  |  2003-06-06  |  188 b   |  8 lines

  1. <%
  2. If (Request("username") = "abc" AND Request("password") = "123") Then
  3.     Session("LoggedIn") = "True"
  4.     Response.Redirect("index.asp")
  5. Else
  6.     Response.Redirect("error.asp")
  7. End If
  8. %>