• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Page download time calculation

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello All
In my project my Project manager is asking to get an analysis of the download time of our sites page from different users. I am thinking of doing it in Javascript. I am thinking of getting the time request originated from client and putting it in a hidden field in each page say h1 and when the download is completed i will update the hidden field using javascript to the current time ( I will take care of time zone lag). can any one tell me how to do this. What events to capture in javascript.
This is my logic....
At any point of time there will be two hidden fields. One field will initialized by the server with some value. The next field is set to other value by the client once the form is submitted. The web server will compute the difference between the two times and give result.
Can anyone help me how which events to capture and how to proceed. I am learning java script recently. ( I am really weak in javascript)
Thanks a bunch
Chandar
 
Forget Steve. Look at this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic