What is WebDNA

WebDNA is a scripting and database system designed to easily build web applications.

WebDNA and BioType

BioType service is a biometric keystroke dynamic system. It will be part of WebDNA 8.5

Download WebDNA

Download WebDNA freeware, try it and register later if you want.

WebDNA resources

The list of all WebDNA instructions.
WebDNA
Software Corporation
Search WebDNA Site
 Menu


HOME


DOWNLOADS


LEARN


EDUCATION


NEWS


COMMUNITY


STORE


SUPPORT


CONTACT

Re: Need a better [elapsedtime]

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34478
interpreted = N
texte = Thanks for you input, Rob. Actually as funny as it sounds this one is time critical. The web site has to do with automotive racing, and one of the gimmicks is going to be a daily multiple choice quiz. In the spirit of racing, the fastest time through the quiz wins the loot. The db method you mentioned would work, but not too fair to the 14.4 guys out there competing against Joe Blow using the T's at his office for play time. ;-) The quiz will probably have a minimum of a thousand entries per day, so I need to track at least to the 60th of a second to avoid multiple winners with the same time. I did however find out there are some timer functions in JS (even a countdownd function) that I think I can manipulate to work. Yikes.Thanks, -RWRob Marquardt wrote:> On 7/11/00 1:16 pm, Robert Wade so noted... > > >Does anyone have any idea how I might go about capturing the time that is > >spanned > >between two user actions on a single page? For example, if I have a > >simple form with a > >start button at the top, then a few questions and an end button at the > >bottom, is > >there any way to capture the amount of time (down to at least 60ths of a > >second) > >between clicking start and end? I haven't looked at JS for this yet > >because I'm not > >real hopeful to find an answer there. Applescript, maybe?? > > Though I'm sure something could be done with JavaScript, if you're > looking to avoid it (myself, I'm always loathe to have JS handle critical > tasks), how about this? > > Start button loads new page with questions. > > Page with questions writes time to a DB, contains an End button linking > to a Finished page. > > Finish page compares current time to that in DB, displays result. > > Granted, load time for the Questions page will be included in the time > total, but as long as your application isn't millisecond-crucial (and > what web app is? ; ) I would think that this approach would work. > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-- Robert Wade ====================== CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Need a better [elapsedtime] (Robert Wade 2000)
  2. Re: Need a better [elapsedtime] (Bob Minor 2000)
  3. Re: Need a better [elapsedtime] (Robert Wade 2000)
  4. Re: Need a better [elapsedtime] (Rob Marquardt 2000)
Thanks for you input, Rob. Actually as funny as it sounds this one is time critical. The web site has to do with automotive racing, and one of the gimmicks is going to be a daily multiple choice quiz. In the spirit of racing, the fastest time through the quiz wins the loot. The db method you mentioned would work, but not too fair to the 14.4 guys out there competing against Joe Blow using the T's at his office for play time. ;-) The quiz will probably have a minimum of a thousand entries per day, so I need to track at least to the 60th of a second to avoid multiple winners with the same time. I did however find out there are some timer functions in JS (even a countdownd function) that I think I can manipulate to work. Yikes.Thanks, -RWRob Marquardt wrote:> On 7/11/00 1:16 pm, Robert Wade so noted... > > >Does anyone have any idea how I might go about capturing the time that is > >spanned > >between two user actions on a single page? For example, if I have a > >simple form with a > >start button at the top, then a few questions and an end button at the > >bottom, is > >there any way to capture the amount of time (down to at least 60ths of a > >second) > >between clicking start and end? I haven't looked at JS for this yet > >because I'm not > >real hopeful to find an answer there. Applescript, maybe?? > > Though I'm sure something could be done with JavaScript, if you're > looking to avoid it (myself, I'm always loathe to have JS handle critical > tasks), how about this? > > Start button loads new page with questions. > > Page with questions writes time to a DB, contains an End button linking > to a Finished page. > > Finish page compares current time to that in DB, displays result. > > Granted, load time for the Questions page will be included in the time > total, but as long as your application isn't millisecond-crucial (and > what web app is? ; ) I would think that this approach would work. > > Rob Marquardt > Designer/Resident Wirehead > Toast Design > > 800 Washington Avenue North > Minneapolis MN 55401 > 612.330.9863 v > 612.321.9424 f > www.toastdesign.com > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is at: http://search.smithmicro.com/-- Robert Wade ====================== CABIN6 Design================================================ |[ //\ ||} || ||\| V| ================================================www.cabin6.com =============== robert@cabin6.com------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Robert Wade

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Purchae error - Fixed to a degree (1997) [WebDNA] CSS Advice (2008) WebDNA Resource Center Resource Center (2004) Normalizing Dates and Phone numbers (2000) Projects & Contractors (1997) [WebDNA] drop off not round off (2011) 4.0.2b4 (2000) Memory Error message (1998) japanese characters (1997) Is there an alternative to emailer? (1999) WebCatalog for Linux users!! (2000) Re:listfiles-looking for slick solution (1997) [OT] Dedicated Image Uploader/Server [/OT] (2003) 5.0 Pricing (2003) WebCat2_Mac RETURNs in .db (1997) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) Dark Horse Comics success story (1997) SV: Mass Mail (2000) [writefile] (1997) Missing contexts on NT (1997)