T
Tim Gaunt
Hi,
I have a photo album and I would like to measure the time it takes for
the page to load, in classic ASP I used something a long the lines of:
<%
Timerstart = Now()
%>
<%
Response.Write("Time to load was: " DateDiff(n, Now(), Timerstart)
%>
The problem is that I don't know how to do this in ASP.NET, I thought I
could put it in the page_load having it start at the top of the code and
then pump out the result at the end but I just seem to get 0 all the
time, does anyone have any suggestions perhaps using system.timers.timer
events could produce something?
Thanks in advance.
Tim
I have a photo album and I would like to measure the time it takes for
the page to load, in classic ASP I used something a long the lines of:
<%
Timerstart = Now()
%>
<%
Response.Write("Time to load was: " DateDiff(n, Now(), Timerstart)
%>
The problem is that I don't know how to do this in ASP.NET, I thought I
could put it in the page_load having it start at the top of the code and
then pump out the result at the end but I just seem to get 0 all the
time, does anyone have any suggestions perhaps using system.timers.timer
events could produce something?
Thanks in advance.
Tim