.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 4th, 2008, 10:38 AM
punky2 punky2 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 5 punky2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 41 sec
Reputation Power: 0
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!!

Reply With Quote
  #2  
Old September 5th, 2008, 07:45 PM
markoc's Avatar
markoc markoc is offline
Contributing User
ASP Free Regular (2000 - 2499 posts)
 
Join Date: Nov 2003
Location: UK
Posts: 2,228 markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level)markoc User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 1 Day 15 h 14 m 48 sec
Reputation Power: 262
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).

Reply With Quote
  #3  
Old September 6th, 2008, 07:42 AM
kboek's Avatar
kboek kboek is offline
Consuming Human
ASP Free Novice (500 - 999 posts)
 
Join Date: Nov 2003
Location: Norway
Posts: 846 kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level)kboek User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 16 h 3 m 6 sec
Reputation Power: 103
Send a message via MSN to kboek
Facebook
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.
__________________
Solutions brought to you by Raskenlund ICT & Media

Reply With Quote
Reply

Viewing: ASP Free ForumsProgramming.NET Development > ASP.Net/C# - Server.Transfer, onload event


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT