关于Session对象的问题
<%If IsEmpty(Session("Passed")) Then
Session("Passed") = False
End If
UserName = Request.Form("UserName")
UserPwd = Request.Form("UserPwd")
If UserName = "Admin" And UserPwd = "123456" Then
Session("Passed") = True
Response.Redirect("/")
End If
If UserName <>"" And UserPwd <> "" And Session("Passed") = False Then
%>
<Script Language=JavaScript>
alert("用户名或密码不正确")
</Script>
<%
End If
If Session("Passed") = False Then
Response.Write ("<Script Language=JavaScript>history.go(-1);</Script>")
End If
Session("Passed") = False
%>
请问这段代码中的 Session("Passed")是哪里来的,好吗
谢谢各位学哥学姐