欢迎光临
我们一直在努力

Asp Object 之:IsClientConnected-ASP教程,ASP应用

建站超值云服务器,限时71元/月

isclientconnected

isclientconnected 属性只读,它指示自上次调用 response.write 之后,客户端是否与服务器相连。

语法

response.isclientconnected ( )
 

注释

该属性允许用户在客户端与服务器没有连接的情况下有更多的控制。例如,在从客户端提出请求起到服务器作出响应,其间要用去很长一段时间的情况下,这就可能有助于确保在继续处理脚本之前客户端仍是连通的。

示例

<% 
check to see if the client is connected
if not response.isclientconnected then 
  get the sessionid to send to the shutdown function
  shutdownid = session.sessionid
perform shutdown processing
  shutdown(shutdownid) 
  end if
%>

应用于

response 对象

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Asp Object 之:IsClientConnected-ASP教程,ASP应用
分享到: 更多 (0)

相关推荐

  • 暂无文章