IsClientConnected

Discussion in 'ASP .Net' started by Raj, Jun 18, 2010.

  1. Raj

    Raj Guest

    We are developing applications that demand gauranteed delivery of a download.
    right now we are using IsClientConnected flag to check if client is connected

    Are there are scenarios where this flag will return true even though the
    client is actually disconnected.

    Are there secnarios where the flag will return false even though the client
    is actually connected.

    Is there some documentation or can somebody shed light on how this works.

    Any help is greatly apprciated.

    Thanks in Advance

    Rajesh.
     
    Raj, Jun 18, 2010
    #1
    1. Advertising

  2. Raj

    3P Guest

    Dnia 18-06-2010 o 18:49:55 Raj <> napisa³(a):

    > We are developing applications that demand gauranteed delivery of a
    > download.
    > right now we are using IsClientConnected flag to check if client is
    > connected
    >
    > Are there are scenarios where this flag will return true even though the
    > client is actually disconnected.
    >
    > Are there secnarios where the flag will return false even though the
    > client
    > is actually connected.
    >
    > Is there some documentation or can somebody shed light on how this works.
    >
    > Any help is greatly apprciated.
    >
    > Thanks in Advance
    >
    > Rajesh.
    >


    I don't know of situations where it reports false even tough client is
    connected.
    But You can get this

    if (IsClientConnected)
    {
    // PrepareData to send

    // Client disconnects

    // SendData which won't succed
    }
     
    3P, Jun 22, 2010
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. alien2_51

    Response.IsClientConnected

    alien2_51, Aug 26, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    609
    William Tasso
    Aug 27, 2003
  2. alien2_51

    Response.IsClientConnected

    alien2_51, Aug 26, 2003, in forum: ASP General
    Replies:
    3
    Views:
    125
    Adrian Forbes - MVP
    Aug 27, 2003
  3. Pete

    IsClientConnected

    Pete, Oct 24, 2003, in forum: ASP General
    Replies:
    3
    Views:
    194
    Egbert Nierop \(MVP for IIS\)
    Oct 28, 2003
  4. kibokochui
    Replies:
    5
    Views:
    267
    kibokochui
    Jan 18, 2006
Loading...

Share This Page