ASP Source Code:
<%
   DIM txtPassword,txtUser,txtLogin

   txtPassword = Request.Form("password")
   txtUser = Request.Form("user")
   txtLogin = txtUser & "|" & txtPassword 
   Response.Write ("Login: [" & txtLogin & "]")
   
   IF txtLogin = "guest|123" THEN
      Session("ValidatedForThisPage") = TRUE
      Response.Redirect "show.asp"
   ELSE
      Session("ValidatedForThisPage") = FALSE
      Response.Redirect "index.asp"
   END IF
%>