% if session("userid")="" then response.Redirect("login.asp?loginmsg=Please enter user and password") %>