Hello All,
I am trying to find a way to process some logic in the code-behind of
an ASP.Net page after a response has been sent back to the client.
Basically, I want to be able to process some potentially
time-consuming logic (statistics gathering) after every page without
impacting the amount of time it takes to return the page to the
client. I've tried putting this code in a few of the Application_
events (like Application_PostRequestHandlerExecute and
Application_ReleaseRequestState), but they all get processed before
the response is actually sent to the client. I can call
Response.Flush to send the content, but the "globe" will continue
spinning on the client because the response is not complete.
I'm surprised there isn't an event that can be called - or else maybe
I just don't see one.
Does anyone have any other ideas on how this could be done?
Thanks in advance,
Ronald G.
rg********@yahoo.com