Re: Protect and Serve

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23364
interpreted = N
texte = Sorry Ken,Maybe copy this and try it! All you need is to type dog and hit enter.... it does not care about the password.Stumps me!

QUICKIE!

[ShowIf [username]!dog] [authenticate] [/ShowIf] [ShowIf [password]!cat] [authenticate] [/ShowIf]SOMETHING ELSE.......... ;_)How can I include the above in a [writefile] context without it trying to authenicate the tpl with the [writefile] context in it?Thanks a bunch!Mooseman In reply to:>>Sounds like [ShowIf] doesn't deal very well if there is nothing before the >>comparison operator. Try turning the comparisons around: >> >>[ShowIf Some_Username![username]] >> [authenticate] >>[/ShowIf] >>[ShowIf Some_Password![password]] >> [authenticate] >>[/ShowIf] > >Or put some kind of identical character(s) on both sides of the >comparison, such as quotation marks for example ... > >[ShowIf [username]!Some_Username] >[authenticate] >[/ShowIf] >[ShowIf [password]!Some_Password] >[authenticate] >[/ShowIf] > >Sincerely, >Ken Grome 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)
Sorry Ken,Maybe copy this and try it! All you need is to type dog and hit enter.... it does not care about the password.Stumps me!

QUICKIE!

[ShowIf [username]!dog] [authenticate] [/ShowIf] [ShowIf [password]!cat] [authenticate] [/ShowIf]SOMETHING ELSE.......... ;_)How can I include the above in a [writefile] context without it trying to authenicate the tpl with the [writefile] context in it?Thanks a bunch!Mooseman In reply to:>>Sounds like [showif] doesn't deal very well if there is nothing before the >>comparison operator. Try turning the comparisons around: >> >>[ShowIf Some_Username![username]] >> [authenticate] >>[/ShowIf] >>[ShowIf Some_Password![password]] >> [authenticate] >>[/ShowIf] > >Or put some kind of identical character(s) on both sides of the >comparison, such as quotation marks for example ... > >[ShowIf [username]!Some_Username] >[authenticate] >[/ShowIf] >[ShowIf [password]!Some_Password] >[authenticate] >[/ShowIf] > >Sincerely, >Ken Grome The Mooseman

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:

real beginner stumped (2000) Multiple 'Users.db' files not possible (1997) Has anyone built this already? (2003) Location of Browser Info.txt file (1997) Error: Too many nested [xxx] contexts (WebTen only) (1997) Webcat 2.0.1 date math bug -> Crash! (1997) how many tags? (2001) Search design (1997) Help with WebCatalog (1998) [format xs] freeze (1997) a * question (2003) ErrorMessages.db suggestion (1997) OS X permissions to write to Globals directory (2003) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Urgent WebCatalog problem (2000) can WC render sites out? (1997) Re:Version 2.0 and 1.6 simultaneous (1997) [WebDNA] MIDDLE problems (2012) [OT] JS snippet needed (2006) ConvertChars request (1999)