当前位置:编程学习 > 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 © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,