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:

Re[2]: Next X hits (1996) Listserver problem (1997) [WaitForFile] wait for open file, not closed file (2001) Not really WebCat (1997) OT: Let's see your workspace... (2005) Time comparison question (1998) Suffix Mapping (1997) MacActivity and PCS (1997) [WriteFile] problems (1997) [TaxableTotal] - not working with AOL and IE (1997) Archives... (1997) ShipCost Data Base (1998) Newbie problem blah blah blah (1997) Subtotals (1999) [ListFiles] context & alias (1997) Next X hits (1996) Sort Order on a page search (1997) Multiple Ad databases? (1997) syntax question, not in online refernce (1997) emailer error -108 (1997)