在寫一個客戶的B/S結構應用程序時
讓我們來看看代碼
<script language=
var idx=
function ChkSession()
{
var Http = new ActiveXObject(
Http
Http
var str = Http
//idx++
//document
if(str==
{
//alert(str);
}
else
{
alert(
location
}
window
}
</script>
這段CODE
<BODY onload=
ChkSessionOut
private void Page_Load(object sender
{
if(Session[
{
Response
return;
}
else
{
Response
return;
}
}
[
From:http://tw.wingwit.com/Article/program/net/201311/15573.html