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 = 33618
interpreted = N
texte = Thanks Anup,I tried that like this-___________[showif [url][password][/url]![url][Decrypt seed=theTree][lookupdb=dbs/some.db&lookinField=Handle&value=[URL][username][/URL][!][/!]&returnField=Pass¬Found=NotFoundAmigo][/Decrypt][/url]][showif [URL][retryCounter][/URL]=%5BretryCounter%5D][math show=F]retryCounter=2[/math][/showif][showif [URL][retryCounter][/URL]\2][REDIRECT PassHelp.tmpl?no_cache=[date %Y%m%d%m%S]&retryCounter=[retryCounter]][/showif][hideif [URL][retryCounter][/URL]\2][authenticate (Use back button for help)][/hideif][/showif]______________..but notice that when coming in with an odd number for [retryCounter] the[autheticate] kicks in and the user cannot get back to the [redirect]. I want the[redirect] to kick back in after some more futile attempts, but how?-JohnAnup Setty wrote:> You can have a counter,>> [showif [counter]^counter]> [text]counter=0[/text]> [/showif]>> and on each attempt, increment the counter and pass with your> form 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 works>> anup>> ----- Original Message -----> From: John Butler
> To: WebCatalog Talk > Sent: Friday, June 23, 2000 2:53 PM> Subject: possible to oscillate between a [redirect] and [authenticate] every> other 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 (among> others) to click a> > link to go back to the original login page and try again. So the> protection code at> > the top of that original login page must not redirect if he is trying> again. This I> > can do with the below code, but what I haven't figured out is how to cause> the redirect> > to kick back in and send him back to the help page after [x] more of his> bad 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]. He> can 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/
Associated Messages, from the most recent to the oldest:
Thanks Anup,I tried that like this-___________[showif [url][password][/url]![url][Decrypt seed=theTree][lookupdb=dbs/some.db&lookinField=Handle&value=[url][username][/URL][!][/!]&returnField=Pass¬Found=NotFoundAmigo][/Decrypt][/url]][showif [url][retryCounter][/URL]=%5BretryCounter%5D][math show=F]retryCounter=2[/math][/showif][showif [url][retryCounter][/URL]\2][REDIRECT PassHelp.tmpl?no_cache=[date %Y%m%d%m%S]&retryCounter=[retryCounter]][/showif][hideif [url][retryCounter][/URL]\2][authenticate (Use back button for help)][/hideif][/showif]______________..but notice that when coming in with an odd number for [retryCounter] the[autheticate] kicks in and the user cannot get back to the [redirect]. I want the[redirect] to kick back in after some more futile attempts, but how?-JohnAnup Setty wrote:> You can have a counter,>> [showif [counter]^counter]> [text]counter=0[/text]> [/showif]>> and on each attempt, increment the counter and pass with your> form 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 works>> anup>> ----- Original Message -----> From: John Butler > To: WebCatalog Talk > Sent: Friday, June 23, 2000 2:53 PM> Subject: possible to oscillate between a [redirect] and [authenticate] every> other 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 (among> others) to click a> > link to go back to the original login page and try again. So the> protection code at> > the top of that original login page must not redirect if he is trying> again. This I> > can do with the below code, but what I haven't figured out is how to cause> the redirect> > to kick back in and send him back to the help page after [x] more of his> bad 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]. He> can 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/
John Butler
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:
Webstar 1.3.1 PPC (1997)
[BULK] RE: [WebDNA] [BULK] Should I be worried about this web (2017)
WebCatalog/WebMerchant 2.1 (1998)
Moment of Thanks (1997)
Help! WebCat2 bug (1997)
PCS Emailer's role ? (1997)
WebCatalog for Postcards ? (1997)
Folder Follies (1998)
Re:Emailer and encryption (1997)
Re:quit command on NT (1997)
RE: E-mailer error codes (1997)
Nested tags count question (1997)
webCat craps httpd (2005)
database paths/names, and a typo (1997)
Emailer (WebCat2) (1997)
Pithy questions on webcommerce & siteedit (1997)
Webcat no longer supported? (2006)
international time (1997)
What about this gremlin issue? (2000)
Oops! (1998)