ASP IsClientConnected 属性

response 对象参考手册

IsClientConnected 属性指示出客户机是否已与服务器断开连接。

语法

response.IsClientConnected

实例

<%
If response.IsClientConnected=true then
  response.write("The user is still connected!")
else
  response.write("The user is not connected!")
end if
%>

response 对象参考手册