代码示例:(标识:demo_aspe_isclientconnected)
<html>
<body>

<%
If Response.IsClientConnected=true then
Response.Write("用户仍然保持连接。")
else
Response.Write("用户未连接。")
end if
%>

</body>
</html>
运行结果: