<% 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
Center For Children Administration Area
<% If Not validpwd Then %>

Incorrect user ID or password

<% End If %>
User Name ">
Password
  Remember me