MORE: Re: Is it possible to pause or wait a process

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 34866
interpreted = N
texte = A really slick idea would be to use my orig. suggestion with a little database that used their ipaddress to see how long the last wait was. this would prevent them from just using the back button to try again at the shorter wait time. you could also give them an attempts counter in the database and only let them try like 3 times or so. once they successfully logged in, you could reset the values.>Another idea would be to send them to a page with a meta refresh on it > >>yea,.. what am i thinking, yes, i presume that it is making multiple >>calls, but i would be this is a very efficient process that has very >>little overhead. >> >>>Thanks Charles - sound like a reasonable solution - I presume >>>there'll be little if any processor load during the wait?? What is >>>WebCat doing during waitforfile - making repeated calls to the OS >>>file system? >>> >>>>off the top of my head, you could do something like this: > >>> >>>>[waitforfile file=some_non_existent_file.txt&timeout=[wait_time]] >>>>where the value for wait_time is passed in and increased with each >>>>progressive load and some_non_existent_file.txt is just that, never >>>>there. >>>> >>>>[math show=f]wait_time=([wait_time]+30)[/math] >>>> >>>>>Is there a context or command such as pause or wait - whereby a >>>>>spawned event could be delayed by a set number of seconds? If not can >>>>>anyone think of a way of achieving this (without putting any load on >>>>>the processor obviously)? For example I'd like someone who enters an >>>>>incorrect password to wait progressively longer for the result to be >>>>>returned to them after each incorrect attempt. >>>>> > >>>------------------------------------------------------------- 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:

    
A really slick idea would be to use my orig. suggestion with a little database that used their ipaddress to see how long the last wait was. this would prevent them from just using the back button to try again at the shorter wait time. you could also give them an attempts counter in the database and only let them try like 3 times or so. once they successfully logged in, you could reset the values.>Another idea would be to send them to a page with a meta refresh on it > >>yea,.. what am i thinking, yes, i presume that it is making multiple >>calls, but i would be this is a very efficient process that has very >>little overhead. >> >>>Thanks Charles - sound like a reasonable solution - I presume >>>there'll be little if any processor load during the wait?? What is >>>WebCat doing during waitforfile - making repeated calls to the OS >>>file system? >>> >>>>off the top of my head, you could do something like this: > >>> >>>>[waitforfile file=some_non_existent_file.txt&timeout=[wait_time]] >>>>where the value for wait_time is passed in and increased with each >>>>progressive load and some_non_existent_file.txt is just that, never >>>>there. >>>> >>>>[math show=f]wait_time=([wait_time]+30)[/math] >>>> >>>>>Is there a context or command such as pause or wait - whereby a >>>>>spawned event could be delayed by a set number of seconds? If not can >>>>>anyone think of a way of achieving this (without putting any load on >>>>>the processor obviously)? For example I'd like someone who enters an >>>>>incorrect password to wait progressively longer for the result to be >>>>>returned to them after each incorrect attempt. >>>>> > >>>------------------------------------------------------------- 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/ Charles Kline

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:

syntax question, not in online refernce (1997) [CART] (1997) Encrypt (1999) [WebDNA] random blank results? how come? (2014) Redirect frame targets (1998) WebCat2b15MacPlugin - [protect] (1997) Pirated WebCat? NOT... (2003) Categorizing by data (2001) Allowed fields in formulas.db (1998) Mystery File (2005) WebCat2 several catalogs? (1997) Emailer problem (2000) [WebDNA] Installation problems for IIS 6 (2010) WebCatalog can't find database (1997) blank fields (1999) Modifying order output (1997) Tax & Shipping (1997) Automatic thumbnail images (1998) Assigning carts (1998) Credit card types (1997)