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]
       
User Name:
Password:
[/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.

       
User Name:
Password:
[/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:
       
User Name:
Password:
[/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:

    
  1. Re: Try not to laugh ( Terry Wilson 2007)
  2. Re: Try not to laugh ( Stuart Tremain 2007)
  3. Re: Try not to laugh ( Stephen Reiss 2007)
  4. Re: Try not to laugh ( Stuart Tremain 2007)
  5. Re: Try not to laugh ( Stephen Reiss 2007)
  6. Re: Try not to laugh ( Stephen Reiss 2007)
  7. Re: Try not to laugh ( Bob Minor 2007)
  8. Re: Try not to laugh ( Donovan Brooke 2007)
  9. Re: Try not to laugh ( Matthew A Perosi 2007)
  10. Try not to laugh ( Stephen Reiss 2007)
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]
       
User Name:
Password:
[/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.

       
User Name:
Password:
[/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:
       
User Name:
Password:
[/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:

Exporting from Excel (1998) Netscape 3.01 can't see db in form (1997) cybercash with webcatalog (1999) TCPConnect & TCPSend (2003) Pithy questions on webcommerce & siteedit (1997) Associative lookup style? + bit more (1997) Quit revisited (1997) Processing stops (2006) Discounts (1998) TCPConnect / Current Temperature (2004) Need relative path explanation (1997) Frames and cart values (1998) Speeding up my [showif] performance (1999) So many lookers, hey smith micro (2003) Quickie question on the email templates (1997) WebDNA & Sambar (2007) Is the list server working? (1998) Secure server question (1997) international time (1997) Sorting by date (1997)