PDA

View Full Version : detect connection with the server



joecool2005
07-27-2006, 07:39 PM
Hi all,

When people upload file in the server, is it possible to detect if the user is still connecting or not with the server?

thx
joe

codeexploiter
08-09-2006, 05:11 AM
Hi

The IsClientConnected property of Response object indicates if the client has disconnected from the server.

<%
Dim res

res = Response.IsClientConnected

if res = true Then
Response.Write "Client is connected to the server"
else
Response.Write "Client is not connected to the server"
End If

%>

Hope this will help you.

Regards

Code Exploiter