Forum Moderators: open
I have a timer on every page of my site. This tells me how long the server spent building the page so that I can improve my code. However, the count doesn't reset with every page. Can anyone see my problem.
At the begining of my page is:
<%
Dim startTime
startTime = Timer()
%>
And at the bottom of the page is:
This page was generated in <%=Round((Timer - StartTime)*1000) %> milliseconds
Chris.
I am thinking that instead of using a timer I'll simply have 2 Now() calls and do the calculation. However, I don't know if Now() calculates to the millisecond.
I don't think it is a caching issue but I can't be certain. I have copied and pasted some code from another one of my sites. That code also produces the same problem.
I'll try again tonight. I should have more time and might not be as tired. Damn steriods, 3 hours sleep in two nights ... not good.
Chris