Re: Protect and Serve

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23402
interpreted = N
texte = or if you are using differnt usernames and passwords[hideif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]=[url][lookup db= yourusers.db&lookinfield=USER&value=[UPPERCASE][USERNAME][/UPPERCASE]&returnfiel d=pass¬found=somethingrubbish][/url]] [authenticate yourrealm] [/hideif] [showif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]=[url][lookup db= yourusers.db&lookinfield=USER&value=[UPPERCASE][USERNAME][/UPPERCASE]&returnfiel d=pass¬found=somethingrubbish][/url]]Your page[/showif]/Martin >>The only thing you have to do to get it to work is to nest the [SHOWIF] >>tags, then *both* condition has to be true. >> >>[ShowIf dog![username]] >> [ShowIf cat![password]] >> [authenticate] >> [/ShowIf] >>[/ShowIf] > > > >Nesting!! What a concept! Thanks Christer! > >Humbly > >Mooseman Associated Messages, from the most recent to the oldest:

    
  1. Re: Protect and Serve (Joseph Pugh 1999)
  2. Re: Protect and Serve (Charles Kefauver 1999)
  3. Re: Protect and Serve (Mike_Davis 1999)
  4. Re: Protect and Serve (Dave MacLeay 1999)
  5. Re: Protect and Serve (Joseph Pugh 1999)
  6. Re: Protect and Serve (Kenneth Grome 1999)
  7. Re: Protect and Serve (Joseph Pugh 1999)
  8. Re: Protect and Serve (PCS Technical Support 1999)
  9. Re: Protect and Serve (Rob Marquardt 1999)
  10. Re: Protect and Serve (The Mooseman 1999)
  11. Re: Protect and Serve (Christer Olsson 1999)
  12. Re: Protect and Serve (Dave MacLeay 1999)
  13. Re: Protect and Serve (Martin Bech 1999)
  14. Re: Protect and Serve (The Mooseman 1999)
  15. Re: Protect and Serve (Christer Olsson 1999)
  16. Re: Protect and Serve (Rob Marquardt 1999)
  17. Re: Protect and Serve (The Mooseman 1999)
  18. Re: Protect and Serve (Lorenzo Perone 1999)
  19. Re: Protect and Serve (Lorenzo Perone 1999)
  20. Re: Protect and Serve (The Mooseman 1999)
  21. Re: Protect and Serve (RH Prouty 1999)
  22. Re: Protect and Serve (Kenneth Grome 1999)
  23. Re: Protect and Serve (Dave MacLeay 1999)
  24. Re: Protect and Serve (The Mooseman 1999)
  25. Re: Protect and Serve (Dave MacLeay 1999)
  26. Protect and Serve (The Mooseman 1999)
or if you are using differnt usernames and passwords[hideif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]=[url][lookup db= yourusers.db&lookinfield=USER&value=[uppercase][username][/UPPERCASE]&returnfiel d=pass¬found=somethingrubbish][/url]] [authenticate yourrealm] [/hideif] [showif [url][encrypt][uppercase][password][/uppercase][/encrypt][/url]=[url][lookup db= yourusers.db&lookinfield=USER&value=[uppercase][username][/UPPERCASE]&returnfiel d=pass¬found=somethingrubbish][/url]]Your page[/showif]/Martin >>The only thing you have to do to get it to work is to nest the [showif] >>tags, then *both* condition has to be true. >> >>[ShowIf dog![username]] >> [ShowIf cat![password]] >> [authenticate] >> [/ShowIf] >>[/ShowIf] > > > >Nesting!! What a concept! Thanks Christer! > >Humbly > >Mooseman Martin Bech

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:

WebCatalog NT beta 18 problem (1997) Quotes inside alt tags (2008) Corrupt Database Problem... (2000) WebCat2b12 CGI Mac - [shownext] problem (1997) Re[2]: 2nd WebCatalog2 Feature Request (1996) Searching multiple fields (1997) problems with WebCat-Plugin (1997) WAY Off-Topic (2004) Help! WebCat2 bug (1997) Include (2000) RE: OK, here goes... (1997) WebDNA release (2005) Form based Redirect (2001) Text data with spaces in them... (1997) Convertchars bug? (2003) Feedback Please (2003) Looking for easy way to back up dbs... (2003) Off Topic: MacOS X Server on iMac (2000) E-Mail Preferences in Admin Folder (1997) EIMS Problems (1997)