Re: Proposed FormVariables hierarchy

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31581
interpreted = N
texte = >The parser will find secure text variables first, then >form variables, then insecure textvariables. A side-effect would be >that one could have text variables with exactly the same name in both >namespaces, but secure ones would be found first.I'm not quite sure why you're telling us this, but it certainly is neat. And when you say text variables you mean both [TEXT] and [MATH], right?It all seems very clear, except for this side effect. I'm not quite sure how it comes into play. Are you saying that if have the following code:1 [TEXT]var=hello[/TEXT] 2 some stuff 3 [TEXT SECURE=F]var=goodbye[/TEXT] 4 [VAR]then Webcat will now have [VAR] in its hierarchy *twice* but will default to the secure version? That is line 4's [VAR] will evaluate to hello instead of the later defined goodbye? Or will the SECURE=F tag kick [VAR] up a few steps in the hierarchy so that line 4 evaluates to goodbye?If the former (evaluating the secure [VAR] first), we should use SECURE=F in the first instance of the variable to define its place in the hierarchy. Right? If the former, how would WebCat evaluate conflicting tags on the same page (like if someone tries to switch the security of a variable several times in the same page)?If this example doesn't make sense, it's because I'm having trouble coming up with all the possible conflicts of having two variables with the same name.How would WebCat handle this example:on SOMEPAGE.HTML?VAR=10[MATH SECURE=T]VAR=25[/MATH] [MATH SECURE=F]VAR=[VAR]+5[/MATH] would the result be 15 or 30?It all makes my head hurt, Michael############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Associated Messages, from the most recent to the oldest:

    
  1. Re: Proposed FormVariables hierarchy (John Butler 2000)
  2. Re: Proposed FormVariables hierarchy (John Peacock 2000)
  3. Re: Proposed FormVariables hierarchy (Nicolas Verhaeghe 2000)
  4. Re: Proposed FormVariables hierarchy (Kenneth Grome 2000)
  5. Re: Proposed FormVariables hierarchy (John Peacock 2000)
  6. Re: Proposed FormVariables hierarchy (Pat McCormick 2000)
  7. Re: Proposed FormVariables hierarchy (Kenneth Grome 2000)
  8. Re: Proposed FormVariables hierarchy (GHulbert@smithmicro.com 2000)
  9. Re: Proposed FormVariables hierarchy (Thomas Wedderburn-Bisshop 2000)
  10. Re: Proposed FormVariables hierarchy (Michael Winston 2000)
  11. Re: Proposed FormVariables hierarchy (Kenneth Grome 2000)
  12. Proposed FormVariables hierarchy (GHulbert@smithmicro.com 2000)
>The parser will find secure text variables first, then >form variables, then insecure textvariables. A side-effect would be >that one could have text variables with exactly the same name in both >namespaces, but secure ones would be found first.I'm not quite sure why you're telling us this, but it certainly is neat. And when you say text variables you mean both [text] and [math], right?It all seems very clear, except for this side effect. I'm not quite sure how it comes into play. Are you saying that if have the following code:1 [text]var=hello[/TEXT] 2 some stuff 3 [TEXT SECURE=F]var=goodbye[/TEXT] 4 [VAR]then Webcat will now have [VAR] in its hierarchy *twice* but will default to the secure version? That is line 4's [VAR] will evaluate to hello instead of the later defined goodbye? Or will the SECURE=F tag kick [VAR] up a few steps in the hierarchy so that line 4 evaluates to goodbye?If the former (evaluating the secure [VAR] first), we should use SECURE=F in the first instance of the variable to define its place in the hierarchy. Right? If the former, how would WebCat evaluate conflicting tags on the same page (like if someone tries to switch the security of a variable several times in the same page)?If this example doesn't make sense, it's because I'm having trouble coming up with all the possible conflicts of having two variables with the same name.How would WebCat handle this example:on SOMEPAGE.HTML?VAR=10[MATH SECURE=T]VAR=25[/MATH] [MATH SECURE=F]VAR=[VAR]+5[/MATH] would the result be 15 or 30?It all makes my head hurt, Michael############################################################# 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 To switch to the INDEX mode, E-mail to Send administrative queries to Michael Winston

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:

WCS Newbie question (1997) WebCatalog 2.0 b 15 mac (1997) Encyption mail was Suggestions for Topics ... (1998) suffix mapping for NT? (1997) WebDNA Solutions --> Date format suggestions (1998) WebCatalog2 Feature Feedback (1996) Three new problems, maybe a fourth (1997) Protect (1997) RE: [WebDNA] [announce] Developer Resource Center (2008) Interface for UltraDev? (2000) [OT] Linux -> Winderz (2005) empty shopping cart message (1997) WebCat & WebTen (1997) WC2b15 File Corruption (1997) WebTEN vs webSTAR (1998) RE:It just Does't add up!!! (1997) Claris HomePage messes up the code (1997) What am I doing wrong? (2000) when is failing to [URL]ize values in a comparison risky? (1999) Sorting by date (1997)