web 2.0

ASP.NET(vb.net) Response.IsClientConnected() - Response Object

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

  1. <%@ Page Language="VB" %>  
  2. <script runat="server">  
  3. Sub Page_Load(sender As Object, e As EventArgs)  
  4. IF Response.IsClientConnected = True Then  
  5. lblText.Text =  "Connect to Client"  
  6. Else  
  7. lblText.Text =  "Not Connect to Client"  
  8. End IF  
  9. End Sub  
  10. </script>  
  11. <html>  
  12. <head>  
  13. <title>ShotDev.Com Tutorial</title>  
  14. </head>  
  15. <body>  
  16. <form id="form1" runat="server">  
  17. <asp:Label id="lblText" runat="server"></asp:Label>  
  18. </form>  
  19. </body>  
  20. </html>  

Screenshot

ASP.NET(vb.net) Response.IsClientConnected() - Response Object
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.