Re: possible to oscillate between a [redirect] and [authenticate] every other login attempt?
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 33612
interpreted = N
texte = You can have a counter,[showif [counter]^counter][text]counter=0[/text][/showif]and on each attempt, increment the counter and pass with yourform action or URL as a variable.each time the user comes back;[showif [counter]>3] -- whatever the number you want use as limitation[redirect .....][/showif]hope this worksanup----- Original Message -----From: John Butler
To: WebCatalog Talk Sent: Friday, June 23, 2000 2:53 PMSubject: possible to oscillate between a [redirect] and [authenticate] everyother login attempt?> I want it so that if an admin type tries logging in with a bad password,then he is> redirected to another (help) page... where he has the option (amongothers) to click a> link to go back to the original login page and try again. So theprotection code at> the top of that original login page must not redirect if he is tryingagain. This I> can do with the below code, but what I haven't figured out is how to causethe redirect> to kick back in and send him back to the help page after [x] more of hisbad attempts> to get the password right. Maybe this is impossible. Any ideas?>> (as the below code is now, once he uses the link to go back and try again...a> href=login.tmpl?retry=yes... he gets stuck on the [authenticate]. Hecan use the> back button, but can I automate it?)> ________>> [showif [url][password][/url]![url][Decrypt seed=thetree][lookup> db=wzdb/some.db&lookinField=Handle&value=[URL][username][/URL][!]> [/!]&returnField=Pass¬Found=NotFoundAmigo][/Decrypt][/url]]>> [hideif [URL][retry][/URL]=yes]> [REDIRECT PassHelp.tmpl?no_cache=[date %Y%m%d%m%S]]> [/hideif]>> [authenticate (Use back button for help)]>> [/showif]>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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:
You can have a counter,[showif [counter]^counter][text]counter=0[/text][/showif]and on each attempt, increment the counter and pass with yourform action or URL as a variable.each time the user comes back;[showif [counter]>3] -- whatever the number you want use as limitation[redirect .....][/showif]hope this worksanup----- Original Message -----From: John Butler To: WebCatalog Talk Sent: Friday, June 23, 2000 2:53 PMSubject: possible to oscillate between a [redirect] and [authenticate] everyother login attempt?> I want it so that if an admin type tries logging in with a bad password,then he is> redirected to another (help) page... where he has the option (amongothers) to click a> link to go back to the original login page and try again. So theprotection code at> the top of that original login page must not redirect if he is tryingagain. This I> can do with the below code, but what I haven't figured out is how to causethe redirect> to kick back in and send him back to the help page after [x] more of hisbad attempts> to get the password right. Maybe this is impossible. Any ideas?>> (as the below code is now, once he uses the link to go back and try again...a> href=login.tmpl?retry=yes... he gets stuck on the [authenticate]. Hecan use the> back button, but can I automate it?)> ________>> [showif [url][password][/url]![url][Decrypt seed=thetree][lookup> db=wzdb/some.db&lookinField=Handle&value=[url][username][/URL][!]> [/!]&returnField=Pass¬Found=NotFoundAmigo][/Decrypt][/url]]>> [hideif [url][retry][/URL]=yes]> [REDIRECT PassHelp.tmpl?no_cache=[date %Y%m%d%m%S]]> [/hideif]>> [authenticate (Use back button for help)]>> [/showif]>>> -------------------------------------------------------------> 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/-------------------------------------------------------------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/
Anup Setty
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:
Expected behavior? (1998)
Search Engines (2002)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
[OT] SQL and Crackers (2000)
Multiple security dbs (1997)
Rhapsody? (1997)
[OT] (waaaay OT) (2004)
Boolean showifs? (2000)
OS X and cart directories (2003)
RE:It just Does't add up!!! (1997)
Searchable WebCat (etc.) Docs ? (1997)
[WebDNA] [BULK] Problem in Database "\x0B" (2011)
Possible Bug in 2.0b15.acgi (1997)
changing order number (1998)
shipping calcs (1998)
sort problems....bug or brain fart? (1997)
Heads up: WebCatalog 4 drops MacTCP, 68K (2000)
Another new bug found ... (2000)
WebDNA on Fedora 5 -Apache won't start (2006)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)