I'm running CR 8.5 by ASP pages and I would like to create a log file that will include the user details as well as the time it took to display the first report page.
>I would like to create a log file that will include the user details as well as the time it took to display the first report page.
At the very top of your ASP page, set a variable to the current time -
Code:
StartTime = Now
.
At the very bottom of your ASP page, set another variable to the current time
Code:
StopTime = Now
.
Then use the FileSystemObject (FSO) to append the difference between the two times to a Log file (along with other details.) A thorough description of FSO is too complex write up here, but you can look it up.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.