Re: Are they really 'global tags'?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41612
interpreted = N
texte = Kenneth .. Sometimes I wonder where you get all your spare time .. ;)Alain >>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/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- 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'? (Kenneth Grome 2002)
  2. Re: Are they really 'global tags'? (Alain Russell 2002)
Kenneth .. Sometimes I wonder where you get all your spare time .. ;)Alain >>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/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- 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/ Alain Russell

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:

creating a ShipCosts database (1997) pc (1997) Beta Documentation (1997) Max Record length (1997) European Dates (1998) getchars broken? (1997) graphics server, SSL, Netscape 4.0 (off topic) (1998) webcat 2.1 new cart fields - please explain more (1998) Setting up shop (1997) Multihoming and webcat (1998) When is unitShipCost calculated? (1998) What about that Cc and Bcc bug? (2000) WebCat2 - [format thousands] (1997) OT: MacAuthorize (2001) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Erotic Sites (1997) RE: Include (1998) emailer (1997) emailer settings and control questions (1997) required fields (1998)