Session不超时

在相关页面中加入<iframe style="display: none" src="xxx.aspx" width="0" height="0"></iframe>

xxx.aspx中添加<meta http-equiv="refresh" content="60" />这句,页面如下

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<meta http-equiv="refresh" content="60" />
</head>
<body>
<form id="form1" runat="server">
<div>
</div>
</form>
</body>
</html>

posted @ 2012-05-31 15:29  杨伟明  阅读(149)  评论(0编辑  收藏  举报