<% Response.Expires = -1000 'Makes the browser not cache this page Response.Buffer = True 'Buffers the content so our Response.Redirect will work Session("UserLoggedIn") = "" If Request.Form("login") = "true" Then CheckLogin Else ShowLogin End If Sub ShowLogin %>
User Name :
Password :
<% End Sub Sub CheckLogin If LCase(Request.Form("username")) = "guest" And LCase(Request.Form("userpwd")) = "guest" Then Session("UserLoggedIn") = "true" Response.Redirect "www.angelfire.com/ultra/wbgspics/protectedpage.html" Else Response.Write("Login Failed.

") ShowLogin End If End Sub %>
Site hosted by Angelfire.com: Build your free website today!