Does page execution stop on browser close event?
-
hi all, i am performing an operation (which take some time assume 1 min ) and the user closes the browser . Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)? any suggestions or links are welcome.. thnks in advance
Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"
-
hi all, i am performing an operation (which take some time assume 1 min ) and the user closes the browser . Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)? any suggestions or links are welcome.. thnks in advance
Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"
rama charan wrote:
Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)?
It will continue :-> :->
rama charan wrote:
or client system hanged
Might be possible if you are doing any heavy work and your pogramme get stuck in infinite loop or Block some where
rama charan wrote:
and restarted)?
Never seen :doh: -- modified at 3:59 Wednesday 9th May, 2007:->:->:-D
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
rama charan wrote:
Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)?
It will continue :-> :->
rama charan wrote:
or client system hanged
Might be possible if you are doing any heavy work and your pogramme get stuck in infinite loop or Block some where
rama charan wrote:
and restarted)?
Never seen :doh: -- modified at 3:59 Wednesday 9th May, 2007:->:->:-D
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
thansk for your help The issue here is .i need to do some payment processing at server which may take some time on server ..All the code of waiting till process is complete is in the server code at web page . and hence client system is no way needed for it but page should be living to process the code right?. And about client system getting hanged ,It need not be due to my application but i can due to other reasons like another local windows application hanged and client user uses end task which is a possible case wherin our dear IE can also can get closed (i have seen cases ). i think i am clear now right
Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"
-
hi all, i am performing an operation (which take some time assume 1 min ) and the user closes the browser . Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)? any suggestions or links are welcome.. thnks in advance
Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"
rama charan wrote:
Will processing of that page continues or exits suddenly when client closes the browser
It will continue. You can check the Response.IsClientConnected property to find out if the browser is still waiting for the response. There is no "browser close event", nothing happens on the server if the browser stops waiting for the response. You have to actively monitor this propery in the code if you want the code to be aware of it. Otherwise the code will complete regardless if there is any browser waiting for the response or not. -- modified at 3:08 Wednesday 9th May, 2007
--- single minded; short sighted; long gone;
-
rama charan wrote:
Will processing of that page continues or exits suddenly when client closes the browser (or client system hanged and restarted)?
It will continue :-> :->
rama charan wrote:
or client system hanged
Might be possible if you are doing any heavy work and your pogramme get stuck in infinite loop or Block some where
rama charan wrote:
and restarted)?
Never seen :doh: -- modified at 3:59 Wednesday 9th May, 2007:->:->:-D
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
Sandeep Akhare wrote:
Suppose you are writting a big file on the server side that takes one min to write but in mean time after 15 sec user close the browser that time the file will not save
Not true. Closing the browser does not stop the code running on the server.
--- single minded; short sighted; long gone;
-
rama charan wrote:
Will processing of that page continues or exits suddenly when client closes the browser
It will continue. You can check the Response.IsClientConnected property to find out if the browser is still waiting for the response. There is no "browser close event", nothing happens on the server if the browser stops waiting for the response. You have to actively monitor this propery in the code if you want the code to be aware of it. Otherwise the code will complete regardless if there is any browser waiting for the response or not. -- modified at 3:08 Wednesday 9th May, 2007
--- single minded; short sighted; long gone;
thnak you i am clear now can u just also help me out with the other question i just posted above this with application upgradation issue. thnsk for your effort
Rama Charan Prasad "Be happy and Keep smiling.Thats what u want be always..:)"
-
Sandeep Akhare wrote:
Suppose you are writting a big file on the server side that takes one min to write but in mean time after 15 sec user close the browser that time the file will not save
Not true. Closing the browser does not stop the code running on the server.
--- single minded; short sighted; long gone;
Guffa wrote:
Closing the browser does not stop the code running on the server.
Thanks for making the picture clear :doh: Can i get any article or documenation regarding this
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "