browser stop

  • Thread starter Thread starter I. Adler
  • Start date Start date
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
 
Hi

Try:
Response.IsClientConnected

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
 
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)
 
Back
Top