<% 'First we check to see if the user is logged in IF Session("Password") = "" THEN 'If their session is empty then we create a session for the current URL they were requesting Session("ORI_URL") = Request.ServerVariables("Path_Info") 'Then we redirect them to the login page Response.Redirect("logon.asp") Else End IF %>