in the global.asax
to measure the request execution time in the onbeginrequest
(start the stopwatch) and onendrequest
(calculate the difference).
then in the end request do response.write
with the result.
however it writes the result AFTER the closing html tag. basically appends to the end.
current line of code is:
HttpContext.Current.Response.Write(elapsedTime);
is there an easy way for the response write to REPLACE the string ::actualResult:: within the actual html with the actual result string from the response write?
i've tried a lot of things including searching online but seems no one needs this or i suck at searching. i thought i could just get the entire response somehow and replace from there but unsure how to do that... something along ...Response.GetTheEnitreResponse??.Replace
... of course that is just wishful thinking ;)
thnx