browser stop

I

I. Adler

hi

when the user is pressing the stop button in the browser toolbar my aspnet
code on the server ist still runnig!
how can i stop this code on the webserver?
the stop button doesnt fire any events so i cant stop my code!

thx, iwan
 
V

Vidar Petursson

Hi

Try:
Response.IsClientConnected

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
 
B

bruce barker

no. the server will not detect the client shut down its connection until it
sends the response data back. if you turn off buffering and keep flushing
the response buffer, you may detect it sooner by checking
Response.IsClientConnected (check after every buffer flush).

-- bruce (sqlwork.com)
 

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

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top