'
response.End
End If
%>
要访问的页面erp.asp
欢迎使用ERP查询系统,当前登录用户为:
<%
If Session("Passed")=True Then
Response.Write(Session("UserName"))
End If
%>退出系统
<%
If Session("Passed")=True Then
Response.Write(Session("UserName"))
End If
%>退出系统
以上每次打开erp.asp的时候,都首先执行Chkpwd.asp(),这样可以有效防止未授权用户访问指定网页.
logout.asp系统退出
<%
Session("Passed")=false
Session("UserName")=""
Response.Redirect("index.asp")
%>
使用图片提交表单


