Thanks you all in advance. Take care and have a nice day...
KateKate,
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)
{}
"Kate_Luu" <CQL60@.yahoo.com> wrote in message
news:%23yCEkDgSEHA.2908@.TK2MSFTNGP10.phx.gbl...
> How can I know the page was closed at client site?
> Thanks you all in advance. Take care and have a nice day...
> Kate
Thanks you so much, Janaka. I'm deeply appreciated of your help.
Take care and have a nice day...
"Janaka" <janaka@.magicalia.com> wrote in message
news:OYgJ77gSEHA.3012@.tk2msftngp13.phx.gbl...
> 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)
> {}
> "Kate_Luu" <CQL60@.yahoo.com> wrote in message
> news:%23yCEkDgSEHA.2908@.TK2MSFTNGP10.phx.gbl...
> > How can I know the page was closed at client site?
> > Thanks you all in advance. Take care and have a nice day...
> > Kate
0 comments:
Post a Comment