Re: Try not to laugh
This WebDNA talk-list message is from 2007
It keeps the original formatting.
numero = 68891
interpreted = N
texte = I am looking into the browser/platform question - since I am removed from the person having trouble, it takes a while to filter down.Here is the code (it works, has for years - in case I missed a showif/hideif or something - this is a snippet from a hugely long page). Notice that it is a loop - the original page is served if there is an error, or if they pass through the check. Since the client was getting the error page, the problem is in the sending and or looking up of the pw pair.The User Name and Passwords each have their own check and response routines. It was the user name that was failing according to the error message she noted.[hideif [1through]=yes][text show=f]cid=[idnum][/text]
[/hideif][showif [uid1]!][hideif [uid1]^uid1][search db=database.db&eqUIDdata=[uid1]][text show=f]uidf=[numfound][/text][/search][showif [uidf]=0]We are sorry, that username is not in our records.
[/showif][showif [uidf]=1][search db=database.db&eqPWdata=[pw1]][text show=f]pwf=[numfound][/text][/search][showif [pwf]=0]We are sorry, that password is incorrect.
If you need to, you can contact us for help:
[/showif][/showif][showif [pwf]=1][search db=database.db&eqPWdata=[pw1]][founditems][text show=f]vnum=[idnum][/text][text show=f]vname=[name][/text][/founditems][/search][text show=f]pwcheck=yes[/text][/showif][/hideif][/showif][showif [pwcheck]=yes][showif [twicethrough]!yes]
You are in
[/showif]>Stephen Reiss wrote:>[snip]>>>>Can you think of any reason the pw check would fail on occasion?>[snip]>>Stephen,>>Can you post your code? Also note what browser she is using.>>Donovan>>>>>--> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE EUCA Design Center> <- Web Development (specializing in eCommerce),->> <- Desktop Publishing, Print Consulting, Labels ->> <-Glass Products, off-hand Classes/studio rental->>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/> Web Sites:> http://www.euca.us & http://www.egg.bz> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>------------------------------------------------------------->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://webdna.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://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
I am looking into the browser/platform question - since I am removed from the person having trouble, it takes a while to filter down.Here is the code (it works, has for years - in case I missed a showif/hideif or something - this is a snippet from a hugely long page). Notice that it is a loop - the original page is served if there is an error, or if they pass through the check. Since the client was getting the error page, the problem is in the sending and or looking up of the pw pair.The User Name and Passwords each have their own check and response routines. It was the user name that was failing according to the error message she noted.[hideif [1through]=yes][text show=f]cid=[idnum][/text][/hideif][showif [uid1]!][hideif [uid1]^uid1][search db=database.db&eqUIDdata=[uid1]][text show=f]uidf=[numfound][/text][/search][showif [uidf]=0]We are sorry, that username is not in our records.
[/showif][showif [uidf]=1][search db=database.db&eqPWdata=[pw1]][text show=f]pwf=[numfound][/text][/search][showif [pwf]=0]We are sorry, that password is incorrect.
If you need to, you can contact us for help:
[/showif][/showif][showif [pwf]=1][search db=database.db&eqPWdata=[pw1]][founditems][text show=f]vnum=[idnum][/text][text show=f]vname=[name][/text][/founditems][/search][text show=f]pwcheck=yes[/text][/showif][/hideif][/showif][showif [pwcheck]=yes][showif [twicethrough]!yes]You are in
[/showif]>Stephen Reiss wrote:>[snip]>>>>Can you think of any reason the pw check would fail on occasion?>[snip]>>Stephen,>>Can you post your code? Also note what browser she is using.>>Donovan>>>>>--> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o> DONOVAN D. BROOKE EUCA Design Center> <- Web Development (specializing in eCommerce),->> <- Desktop Publishing, Print Consulting, Labels ->> <-Glass Products, off-hand Classes/studio rental->>> PH:> (608) 835-2476 | Forum:> http://egg.bz/forum/> Web Sites:> http://www.euca.us & http://www.egg.bz> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>------------------------------------------------------------->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://webdna.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://webdna.smithmicro.com/
Stephen Reiss
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:
A Current Feature or Futre Concept (1998)
Re[2]: Next X hits (1996)
[OT] Bad Hard Drive? (2003)
Forcing a NEWCART (1997)
[BoldWords] WebCat.acgib15Mac (1997)
code to phantom spacing (2001)
MATH (1998)
WebCatalog on LinuxPPC (2000)
Database cloning, or possible hack? (2003)
Problem with ShoppingCart.tpl refresh (2000)
Fwd: FW: Returned mail: you are not authorized to release queueson this server (2000)
Shoppingcart passing price (2000)
Tab Delimited Files / FM Pro (1997)
I forgot (1998)
Initiating NewCart (1997)
Week # problem (1998)
PSC recommends what date format yr 2000??? (1997)
RE:It just Does't add up!!! (1997)
[sendmail] v. [writefile] (2000)
Nested search (1997)