<% if(String(Request("logout"))=="yes"){ logout(); } function bad_login(){ var pUserName=Request.form("user_name"); var pPassword=Request.form("password"); if(pUserName=="admin" && pPassword=="pass"){ return false; } else{ return true; } } %> pAddressbook -authorize
Make your own free website on Tripod.com

  <% Response.write("

"+show_logon()+"<\/div>"); %> <% if(Request("action")!="login"){ if(bad_login()){ Response.write("
\n\n\n
Wrong User name or Password
"); } else{ Session("valid_user")=true; Response.redirect("edit.htm"); } } %>