PDA

Click to See Complete Forum and Search --> : IsClientConnected question


DavidBG
Nov 21st, 2000, 10:06 AM
The question does actually relate to VB application as the client sides and proper ASP page as the Server.

I have multiple clients post/get concurrently/sumultainously to/from my ChatServer asp page.

How and when could the server know a PARTICULAR client is still in connection/disconnection.

- I ever try the property : (in the server asp page)

IF RESPONSE.IsClientConnected = False Then
Do something
End If

- And that always return FALSE (there is always
something in connection), even I use InternetCloseHandle(hInternet) to disconnect and close two clients' VB applications (as I test all at once 3 clients). The thrid one is still in connection, But the server does not really the other 2 clients' disconnecting action.

- I would pretty appreciate for any response and discussion. Thanks.