|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ASP.Net/C# - Server.Transfer, onload event
Hello,
I am trying to track how long it takes to perform certain tasks in my app by logging the time something was requested and the time when the page has fully loaded. I have already added a function that is called in the onload event that makes an asynchronous call back to the server to record the time that the page was fully loaded. The problem is, with some of the things I want to track the load time for, the page is called by "server.transfer", and when it's called this way, the onload event is not fired, and then the loaded time is not logged. What is another way for me to track this "loaded" time then when server.transfer is used? Thanks for any help or ideas!! |
|
#2
|
||||
|
||||
|
Server.Transfer, onload event
well it all depends on the way your site is made up. Are you using a master page? Does you site use DAL and BLL classes?
Depending on the site structure the pre and onload events tracking will have be placed differently.
__________________
Hope this advise helps. ![]() If so please show your appreciation by adding reputation points (click gauge image on top right of this post and score).
|
|
#3
|
||||
|
||||
|
1. Use tracing. At top of your aspx page after the "<%@ Page" directive, write "Trace = true"
2. Use HttpWatch. This is a wonderful tool to find out how your website performs. The free version can be downloaded from http://www.httpwatch.com/download/ and really gives a nice overview. |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP.Net/C# - Server.Transfer, onload event |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|