473,480 Members | 1,901 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How long will the iis thread live after you close a page?

hi,all:
I just made a simple web project that I want to insert 10000 rows data to
sqlserver one by one,it would take a long time to complete, during
inserting, i closed the web page that made the inserting,and looked up the
sqlserver event logger, but the inserting is still going, it took serveral
minutes to complete, but the rows inserted does not reach 10000.

i want to know How long the iis thread will live after you close the page?
is it session problem? if it is, and the session is valid , the rest of
rows will insert to db?
Nov 18 '05 #1
4 1191
"Peter" <Pe******@msn.com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
hi,all:
I just made a simple web project that I want to insert 10000 rows data to
sqlserver one by one,it would take a long time to complete, during
inserting, i closed the web page that made the inserting,and looked up the
sqlserver event logger, but the inserting is still going, it took serveral
minutes to complete, but the rows inserted does not reach 10000.

i want to know How long the iis thread will live after you close the page? is it session problem? if it is, and the session is valid , the rest of
rows will insert to db?


Closing the web page is a client-side action. It has no effect at all on the
server.
--
John Saunders
John.Saunders at SurfControl.com

Nov 18 '05 #2

"John Saunders" <john.saunders at SurfControl.com> дÈëÏûÏ¢
news:#D**************@TK2MSFTNGP11.phx.gbl...
"Peter" <Pe******@msn.com> wrote in message
Closing the web page is a client-side action. It has no effect at all on the server.
--
John Saunders
John.Saunders at SurfControl.com

but in debug mode, if you close the web page , the program exit
immediately,if it is just the client action,why a method will exit while not
completing?

thanks in advance!
Nov 18 '05 #3
"Peter" <Pe******@msn.com> wrote in message
news:uK**************@TK2MSFTNGP12.phx.gbl...

"John Saunders" <john.saunders at SurfControl.com> дÈëÏûÏ¢
news:#D**************@TK2MSFTNGP11.phx.gbl...
"Peter" <Pe******@msn.com> wrote in message
Closing the web page is a client-side action. It has no effect at all on the
server.
--
John Saunders
John.Saunders at SurfControl.com

but in debug mode, if you close the web page , the program exit
immediately,if it is just the client action,why a method will exit while

not completing?


In debug mode, the debugger is attached both to the aspnet_wp process and to
your browser process. When you exit the browser, the debugger knows.
--
John Saunders
jo**************@hotmail.com
Nov 18 '05 #4
thank you so much
"John Saunders" <john.saunders at surfcontrol.com> дÈëÏûÏ¢
news:eR**************@TK2MSFTNGP10.phx.gbl...
"Peter" <Pe******@msn.com> wrote in message
news:uK**************@TK2MSFTNGP12.phx.gbl...

"John Saunders" <john.saunders at SurfControl.com> дÈëÏûÏ¢
news:#D**************@TK2MSFTNGP11.phx.gbl...
"Peter" <Pe******@msn.com> wrote in message
Closing the web page is a client-side action. It has no effect at all
on the
server.
--
John Saunders
John.Saunders at SurfControl.com
but in debug mode, if you close the web page , the program exit
immediately,if it is just the client action,why a method will exit while

not
completing?


In debug mode, the debugger is attached both to the aspnet_wp process and

to your browser process. When you exit the browser, the debugger knows.
--
John Saunders
jo**************@hotmail.com

Nov 18 '05 #5

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

Similar topics

9
2149
by: Brian Roberts | last post by:
I have a command line Python program that sometimes takes a bit (several minutes) to run. I want to provide an optional method for an impatient user (me!) to check the status of the program. The...
2
3753
by: Bryan Olson | last post by:
The current Python standard library provides two cryptographic hash functions: MD5 and SHA-1 . The authors of MD5 originally stated: It is conjectured that it is computationally infeasible to...
7
4738
by: James o'konnor | last post by:
hello. i have the next for create one table into db2 CREATE TABLE "MYSQUEMA"."TABLADEMO" ( "ID" INTEGER NOT NULL GENERATED ALWAYS AS IDENTITY ( START WITH +0 INCREMENT BY +1 MINVALUE +0...
4
1555
by: Bart Swisher | last post by:
I have an Access database that I have web enabled using ASP, everything works fine except for one thing. Let me start by giving a background of the requirements. This is an online obituary...
16
1756
by: John Rivers | last post by:
http://www.15seconds.com/Issue/030812.htm?voteresult=1 poor guy worked his heart out, just to make a page control and then they published it ha ha ha ha ha to "help" others
9
7108
by: rsine | last post by:
I have developed a program that sends a command through the serial port to our business system and then reads from the buffer looking for a number. Everything worked great on my WinXP system, but...
3
463
by: David Lozzi | last post by:
Howdy, I have an error mod in my app that emails me whenever there is an error. I use try..catch to capture the error. It works great, I love it, except for this one minor issue. Whenever there...
9
3251
by: esakal | last post by:
Hello, I'm programming an application based on CAB infrastructure in the client side (c# .net 2005) Since my application must be sequencally, i wrote all the code in the UI thread. my...
32
1667
by: John Wright | last post by:
I have a long process I run that needs to be complete before the user can continue. I can change the cursor to an hourglass, but I want to update the Status Strip on the bottom during the process. ...
0
7037
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
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7032
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
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5321
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,...
1
4767
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1294
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.