Click to See Complete Forum and Search --> : What happens if a post back call is interupted


beecheyp
February 24th, 2005, 03:52 AM
Hi All,

Our ASP.Net application can be accessed by our users over dialup. Can someone explain or point me to a resource that explains what happens when a users dial up connection is closed afterthey have submitted a postback. I have tested this on my local network and the transaction completes even though I have closed my browser.

I am guessing that as login as all of the post back data make it back to the web server the page operation will complete but I need to know what happens if it does not i.e. does IIS simply abandon the session.

Any help much appreciated.

Paul.

jcmorin
February 24th, 2005, 06:32 PM
I don't think that anything is close server side even if, as you try, close the browser.

However you can do some code to prevent running block of code if the connection is closed.

If Response.IsClientConnected Then
' do stuff here
End If

------------------------------
Jean-Claude Morin, MCP
Software Developer
2k1Soft, Canada

beecheyp
February 25th, 2005, 03:11 AM
Thanks for the information, its proved useful.

P.