当前位置:编程学习 > asp >>

asp IsClientConnected 的作用

IsClientConnected 的作用是判断否现在与数据库连接的

<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!

补充:asp教程,ASP入门 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,