检查用户是否仍然与服务器连接

代码:

<!DOCTYPE html>

<html>

<body>

 

<%

If Response.IsClientConnected=true then

Response.Write("The user is still connected!")

else

Response.Write("The user is not connected!")

end if

%>

 

</body>

</html>

结果:

The user is still connected!

相关文章