Re: Are they really global tags?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41611
interpreted = N
texte = >I just did a test. What I learned is surprising. The following >global tags can be eaasily overridden simply by setting them to >text variables: > >[Date] >[ElapsedTime] >[FreeMemory] >[LastRandom] >[Platform] >[Product] >[Random] >[Time] >[ValidCard] >[Version] > >Isn't the whole idea behind global tags that they will *always* >produce the value described in the docs -- thus the term GLOBAL >tags? If so, then why can I override these values with a simple >[text] variable assignment? Well, I just did two more tests and here are my results:Sending form variables to the page does not override the above values, nor does trying to reset them as INsecure text variables. Only resetting them as secure text variables allows their values to be changed into something which is clearly less than global.So don't be deceived by the terminology. The tags above do not create global values like the docs say. Instead they create values which can be changed via [text secure=T], and that makes them fall somewhere in between form variables and global tags in the variable hierarchy.Based on my tests, the following list includes the only TRUE global tags in the webdna language. These variables cannot be overridden by secure text variables or by any other variables, which means they are truly global in nature:BrowserName HTTPMethod IsSecureClient Password Referrer ThisFile ThisURL UserName Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Are they really global tags? (John Hill 2002)
  2. Re: Are they really global tags? (Bob Minor 2002)
  3. Re: Are they really global tags? (Robert Wade 2002)
  4. Re: Are they really global tags? (Dan Strong 2002)
  5. Re: Are they really global tags? (Brian Fries 2002)
  6. Re: Are they really global tags? (Kenneth Grome 2002)
  7. Are they really global tags? (Kenneth Grome 2002)
>I just did a test. What I learned is surprising. The following >global tags can be eaasily overridden simply by setting them to >text variables: > >[date] >[elapsedtime] >[freememory] >[LastRandom] >[platform] >[Product] >[random] >[time] >[validcard] >[version] > >Isn't the whole idea behind global tags that they will *always* >produce the value described in the docs -- thus the term GLOBAL >tags? If so, then why can I override these values with a simple >[text] variable assignment? Well, I just did two more tests and here are my results:Sending form variables to the page does not override the above values, nor does trying to reset them as INsecure text variables. Only resetting them as secure text variables allows their values to be changed into something which is clearly less than global.So don't be deceived by the terminology. The tags above do not create global values like the docs say. Instead they create values which can be changed via [text secure=T], and that makes them fall somewhere in between form variables and global tags in the variable hierarchy.Based on my tests, the following list includes the only TRUE global tags in the webdna language. These variables cannot be overridden by secure text variables or by any other variables, which means they are truly global in nature:BrowserName HTTPMethod IsSecureClient Password Referrer ThisFile ThisURL UserName Sincerely, Kenneth Grome--------------------------------------------------- WebDNA Professional Training and Development Center 175 J. Llorente Street +63 (32) 255-6921 Cebu City, Cebu 6000 kengrome@webdna.net Philippines http://www.webdna.net ---------------------------------------------------------------------------------------------------------------- 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://search.smithmicro.com/ Kenneth Grome

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 Programmer looking for a new job (2001) Email notification to one of multiple vendors ? (1997) Superfilous Characters (1998) For Sale: WebTen 2.x and WebCat 2.x (2000) RE: Missing contexts on NT (1997) Problem displaying search result (1997) Password and Allow commands (1998) Tab Charactor (1997) Instructions for Digest (1997) [WriteFile] problems (1997) [SearchString] usage (1997) How does WebCatalog search the database? (1997) Still refusing connections ... (1999) syntax question, not in online refernce (1997) # fields limited? (1997) WC1.6 to WC2 date formatting (1997) Big Databases (1997) Mac Programs (1998) [table] strange behaviour REAL solution (2003) Re1000002: Setting up shop (1997)