% validpwd = True If Request.Form("submit") <> "" Then ' Setup variables userid = Request.Form("userid") passwd = Request.Form("passwd") If ((UCase("cfcadmin") = UCase(userid)) And (UCase("center4children") = UCase(passwd))) Then Session("cfc_status") = "login" ' Write cookies If Request.Form("rememberme") <> "" Then Response.Cookies("cfc")("userid") = userid Response.Cookies("cfc" ).Expires = Date + 365 ' Change the expiry date of the cookies here End If Response.redirect "default.asp" Else validpwd = False End If End If %>
| Center For Children Administration Area |
Incorrect user ID or password
<% End If %>