473,402 Members | 2,055 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

browser stop

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
Nov 17 '05 #1
2 2061
Hi

Try:
Response.IsClientConnected

--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"I. Adler" <ze********@yahoo.de> wrote in message
news:1056622428.272900@exnews...
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

Nov 17 '05 #2
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)
"I. Adler" <ze********@yahoo.de> wrote in message
news:1056622428.272900@exnews...
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

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: GameDev | last post by:
I have a section of my website where customers can login and download a few select files. The download links are to php scripts that decide which files to download. Generally it works fine....
8
by: David | last post by:
Hi I'm developing an internet app. in which I want to prevent the user from being able to browse the web whikst they are in the app. So I want to hide the I.E. address bar and prevent any new...
3
by: Marcus Otmarsen | last post by:
During the last months I obeserved a growing number of web pages with popups inside a web page. I don't know the technique by which these in-page-windows are implemented (either Javascript or...
1
by: Raterus | last post by:
Hello, I'm using Firefox now as my VisualStudio 2003 browser for debugging my asp.net applications. It's great, when I debug, a new tab is opened into Firefox, and I can debug normally. My only...
3
by: Mark | last post by:
Is there anyway to stop the flickering when a page refreshes in the browser? I am thinking maybe something to do with buffering and repainting the page over the old one instead fo clearing the...
14
by: Roger Withnell | last post by:
How to I find out what size text the browser is set to? Thanks in anticipation.
13
by: anil.rita | last post by:
When the user chooses an AV file to play, based upon the type of file, I want to use the default installed media player to play it. I am wondering if this is a good way - any alternatives,...
4
by: paulsaravanan | last post by:
hi all, code is working for IE6 and other browser but its not working in IE7. document.execCommand('Stop') - IE6 code window.stop() - Netscape code can anyone help to stop browser code...
7
by: Anil | last post by:
I have a Javascript program which runs in the browser and has functions work(), and stop(). It listens to commands from the server to work() and can be interrupted by the server to stop(). I am...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.