I have an ASP.NET page that is taking too long to load. A little testing shows that the server side logging is taking a fair chunk of time and (because the user never needs to see the logging results) I want to delay it until after the page has loaded.
Is there a simple way to do this?
I've tried placing it in the page's Disposed
event but that doesn't seem to fire and in the Unload
event but that fires too soon. I'd rather not have to spawn a thread but I might be able to if that's what it takes.
I am NOT looking for AJAX. I want to do a normal full page load and then after the page has loaded (as seen from the client side) do a little more processing.