主题:session丢失是不是跟这个有关?
<%
if session("UserName")="" then
response.Redirect("login.asp")
[color=FF0000]response.End()[/color]
end if
if request("act")="Exit" then
session("UserName")=""
response.Redirect("Index.asp")
[color=FF0000]response.End()[/color]
end if
%>
加红颜色的response.End()有和无好像没什么区别?
if session("UserName")="" then
response.Redirect("login.asp")
[color=FF0000]response.End()[/color]
end if
if request("act")="Exit" then
session("UserName")=""
response.Redirect("Index.asp")
[color=FF0000]response.End()[/color]
end if
%>
加红颜色的response.End()有和无好像没什么区别?