ASP.NET(vb.net) Response.IsClientConnected() - Response Object - Response.IsClientConnected() : The IsClientConnected property is a read-only property that indicates if the client has reset the connection to the server.
ShotDev Focus:
- ASP.NET(vb.net) Response.IsClientConnected() - Response Object
Example
AspNetResponseIsClientConnected.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) IF Response.IsClientConnected = True Then lblText.Text = "Connect to Client" Else lblText.Text = "Not Connect to Client" End IF End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form id="form1" runat="server"> <asp:Label id="lblText" runat="server"></asp:Label> </form> </body> </html>
Screenshot