asp.net.ph

Response.IsClientConnected Property

System.Web Namespace   HttpResponse Class


Gets a value indicating whether the client is still connected to the server.

[ VB ]
Public ReadOnly Property IsClientConnected As Boolean

[ C# ]
public bool IsClientConnected {get;}

[ C++ ]
public: __property bool get_IsClientConnected ( );

[ JScript ]
public function get IsClientConnected ( ) : Boolean;

Property Value

true if the client is currently connected; otherwise, false.

Example

The following example takes action if the client is currently connected.

[ VB ]
If Response.IsClientConnected = True Then
    ' ... do whatever here
 End If


[ C# ]
if ( Response.IsClientConnected == true ) 
 {
    // ... do whatever here
}
See Also

HttpResponse Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph