asp控制项目超时

If Session("username")="" or isnull(Session("username")) Then
%>

<script type="text/javascript">alert("对不起!操作已超时,请重新登陆!"); top.location.href='/manager/login.html';</script>
<%
response.end
end if

%>

原文地址:https://www.cnblogs.com/guoyansi19900907/p/3476218.html