Results 1 to 2 of 2

Thread: detect connection with the server

  1. #1
    Join Date
    Nov 2005
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default detect connection with the server

    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

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Thumbs up

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •