By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,262 Members | 1,146 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,262 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
"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

P: n/a

"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

P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.