40 lines
1.0 KiB
HTML
40 lines
1.0 KiB
HTML
<!DOCTYPE html>
|
|
<!-- saved from url=(0047)https://coder.wtu.edu.cn/includes/stayalive.jsp -->
|
|
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=GBK">
|
|
|
|
<meta http-equiv="Expires" content="0">
|
|
<meta http-equiv="Cache-Control" content="no-cache">
|
|
<meta http-equiv="Pragma" content="no-cache">
|
|
<link rel="shortcut icon" href="https://coder.wtu.edu.cn/images/cgicon.png">
|
|
|
|
<title></title>
|
|
<script src="./jquery-3.5.1.min.js.download"></script>
|
|
|
|
</head>
|
|
|
|
<body marginwidth="0" marginheight="0">
|
|
|
|
|
|
|
|
<script>
|
|
var cgrefreshSn = function ()
|
|
{
|
|
var time = 1200000; // 20 mins
|
|
setTimeout(
|
|
function ()
|
|
{
|
|
$.ajax({
|
|
url: '/refreshSession',
|
|
cache: false,
|
|
complete: function () {cgrefreshSn();}
|
|
});
|
|
},
|
|
time
|
|
);
|
|
};
|
|
|
|
cgrefreshSn();
|
|
</script>
|
|
|
|
|
|
</body></html> |