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...
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

ASP.NET 1.1 2
Counting multiple memberships 1
If value in a colum the same concatenate another colume 4
A bit of math logic please 2
UTC Time, but how? 3
Outlook from .dotx to .oft 1
Upgrade 3
lOOK UP VALUES 1

Back
Top