newbie please help!

  • Thread starter Thread starter Kate_Luu
  • Start date Start date
K

Kate_Luu

How can I know the page was closed at client site?

Thanks you all in advance. Take care and have a nice day...

Kate
 
Kate,

Because of the disconnected nature of the internet its not possible to know
when the client closes their browser or leaves the page. If you are running
an intensive block of code and want to check whether the client is still
there you can use Response.IsClientConnected to check whether they are still
connected.

ex. If Response.IsClientConnected = True Then
End If

or

if (Response.IsClientConnected == true)
{}
 
Thanks you so much, Janaka. I'm deeply appreciated of your help.

Take care and have a nice day...
 
Back
Top