Results 1 to 2 of 2

Thread: Date stamp on entry

  1. #1
    Join Date
    Oct 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Date stamp on entry

    Hi.

    I'm sure this will be very easy for somebody with a good basic level of proficiency in js.

    I'm working with a webform and would like to record the time of entry onto the page. Not on exit time but when the page was opened.

    Alternatively capturing the exact length of time spend on a page h:m:s would be good if that's possible.

    Hope that makes sense?

    Thanks in advance

    Richard

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Record where? Javascript will not make any lasting record of anything. So unless you would be happy with a transient variable or cookie (both cookies and variables in javascript are and/or can be extremely short lived, and this behavior is beyond the designer's control in various ways), you should use a server side language for this. Do you have PHP or asp available to you?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •