Mega Code Archive

 
Categories / ASP.Net Tutorial / Page Lifecycle
 

Response IsClientConnected

<%@ Page Language="vb" %> <html>    <head>       <title>Checking client connection status in ASP.NET</title>       <script runat="server">          Sub Page_Load()             If Response.IsClientConnected = False Then                Response.End             Else             End If          End Sub       </script>    </head> <body>    <asp:label id="myMessage" runat="server"/> </body> </html>