Re: Reminder for beta testers

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 31084
interpreted = N
texte = I'm not sure of all the things ken is using the hireachy to do but i know i am using it as well in similar ways. Just fixing certain global variables would make good sense. JymKenneth Grome wrote:> >>Grant do you mean to say that if I have: > >>[text]var1=preset[/text] that an incoming form var named var1 will > >>*not* override the > >>[text]-set value of preset? > > > >That's right, because people were complaining about a security hole > >which allowed you to set [ipaddress] from an incoming form variable, > >and lots of people use [ipaddress] to decide if they should show > >sensitive information. > > But [ipaddress] is a global tag, not a variable. Can't you fix this > problem (global tags being overridden) without breaking the current > variable hierarchy? > > Maybe you got the parsing code wrong in 3.x when it comes to global > tags, but I still think you should leave the variable hierarchy > alone. I actually thought you had considered the webcat variable > hierarchy long and hard before deciding what it should be, especially > since the current variable hierarchy works exceptionally well the way > it is. > > Unfortunately now it seems like you're ready to change it all just > because the global tags are being overridden, and this is a *major > bummer* to me ... :( > > Look, here's just one of the many techniques I have developed to save > coding time and make my life better when using webdna. I've been > doing this ever since text variables were introduced in 3.x as > subordinate to formvariables, and it saves me TONS of time ... > > 1- I put my forms into include files because I use them in several > different templates for different purposes, as you will soon see. > > 2- I always preset my formvariables to blank values by putting code > like this at the top of my include file. This first line is useful > when presetting text variables to blank values when the form is used > to edit a database: > > [text multi=t][listfields db=xxx.db=[fieldname]=&[/listfields][/text] > > And this line will reset any specific values to something other than > blank if necessary: > > [text multi=t]city=Honolulu&state=HI[/text] > > 3- Then I put variable tags in all my form fields to preset their > values, like this: > > > > > > > > When this form is included in an append page, this technique presets > the form fields to the values defined by the code in #2 above. > > When I include the same form in the page that follows an append or > replace form, it allows the visitor to edit his entries without > having to go Back to do so -- because the formvariables from the > previous page *override* the blank presets, thus displaying the > values the person just entered on the last page! > > And when the same form is included in a replace page, all those > preset values are overridden by the db fields inside the founditems > context. > > In other words, this technique saves me TONS of time. I rely heavily > on the current variable hierarchy that places [text] and [math] > variables at the bottom of the hierarchy, and formvariables above > them, and db field values above them. It all works exceptionally well > just the way it is. > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://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 > To switch to the INDEX mode, E-mail to > Send administrative queries to -- _/_/_/CyberLive, Inc.\_\_\_ _/_/_/_/_/ Jym Duane \_\_\_\_\_\_ Marketing / Custom Design \ E-Commerce Phone: (949) 443-1323 Fax: (949)443-1360 Email: sales@cyberlive.com Web: http://www.cyberlive.com _/_/_/_/_/_/_/_/_/_/_/_/_/_/ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/_/_/_/_/ The Internet Services Professionals \_\_\_\_\_\_\_ 31781 Camino Capistrano, Suite 302, San Juan Capistrano, CA 92675############################################################# 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: Reminder for beta testers (Grant Hulbert 2000)
  2. Re: Reminder for beta testers (Mike Davis 2000)
  3. Re: Reminder for beta testers (Grant Hulbert 2000)
  4. Re: Reminder for beta testers (John Butler 2000)
  5. Re: Reminder for beta testers (Jym Duane 2000)
  6. Re: Reminder for beta testers (Kenneth Grome 2000)
  7. Re: Reminder for beta testers (Thomas Wedderburn-Bisshop 2000)
  8. Re: Reminder for beta testers (Grant Hulbert 2000)
  9. Re: Reminder for beta testers (John Butler 2000)
  10. Re: Reminder for beta testers (Bob Minor 2000)
  11. Reminder for beta testers (Grant Hulbert 2000)
I'm not sure of all the things ken is using the hireachy to do but i know i am using it as well in similar ways. Just fixing certain global variables would make good sense. JymKenneth Grome wrote:> >>Grant do you mean to say that if I have: > >>[text]var1=preset[/text] that an incoming form var named var1 will > >>*not* override the > >>[text]-set value of preset? > > > >That's right, because people were complaining about a security hole > >which allowed you to set [ipaddress] from an incoming form variable, > >and lots of people use [ipaddress] to decide if they should show > >sensitive information. > > But [ipaddress] is a global tag, not a variable. Can't you fix this > problem (global tags being overridden) without breaking the current > variable hierarchy? > > Maybe you got the parsing code wrong in 3.x when it comes to global > tags, but I still think you should leave the variable hierarchy > alone. I actually thought you had considered the webcat variable > hierarchy long and hard before deciding what it should be, especially > since the current variable hierarchy works exceptionally well the way > it is. > > Unfortunately now it seems like you're ready to change it all just > because the global tags are being overridden, and this is a *major > bummer* to me ... :( > > Look, here's just one of the many techniques I have developed to save > coding time and make my life better when using webdna. I've been > doing this ever since text variables were introduced in 3.x as > subordinate to formvariables, and it saves me TONS of time ... > > 1- I put my forms into include files because I use them in several > different templates for different purposes, as you will soon see. > > 2- I always preset my formvariables to blank values by putting code > like this at the top of my include file. This first line is useful > when presetting text variables to blank values when the form is used > to edit a database: > > [text multi=t][listfields db=xxx.db=[fieldname]=&[/listfields][/text] > > And this line will reset any specific values to something other than > blank if necessary: > > [text multi=t]city=Honolulu&state=HI[/text] > > 3- Then I put variable tags in all my form fields to preset their > values, like this: > > > > > > > > When this form is included in an append page, this technique presets > the form fields to the values defined by the code in #2 above. > > When I include the same form in the page that follows an append or > replace form, it allows the visitor to edit his entries without > having to go Back to do so -- because the formvariables from the > previous page *override* the blank presets, thus displaying the > values the person just entered on the last page! > > And when the same form is included in a replace page, all those > preset values are overridden by the db fields inside the founditems > context. > > In other words, this technique saves me TONS of time. I rely heavily > on the current variable hierarchy that places [text] and [math] > variables at the bottom of the hierarchy, and formvariables above > them, and db field values above them. It all works exceptionally well > just the way it is. > > ================================ > Kenneth Grome, WebDNA Consultant > 808-737-6499 http://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 > To switch to the INDEX mode, E-mail to > Send administrative queries to -- _/_/_/CyberLive, Inc.\_\_\_ _/_/_/_/_/ Jym Duane \_\_\_\_\_\_ Marketing / Custom Design \ E-Commerce Phone: (949) 443-1323 Fax: (949)443-1360 Email: sales@cyberlive.com Web: http://www.cyberlive.com _/_/_/_/_/_/_/_/_/_/_/_/_/_/ \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ _/_/_/_/_/_/_/ The Internet Services Professionals \_\_\_\_\_\_\_ 31781 Camino Capistrano, Suite 302, San Juan Capistrano, CA 92675############################################################# 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 Jym Duane

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:

rotating thumbnails (1997) [WebDNA] 6.2 Monitor (2012) Purchae error - Fixed to a degree (1997) Calculating Shipping charges for multiple items and qtys > 1 (1997) [WebDNA] o search engines index .db files? (2009) Odd Cart Behavior (1997) default value from Lookup (was Grant, please help me) (1997) Templates on Unix & CGI on Mac? (1997) Using Applescript to process WebCatalog functions (1998) OK, here goes... (1997) problems with WebCat-Plugin () Adding up line items. (2000) Migrating to NT (1997) Webcatalog acgi conflict? (1999) Subtotal Not Calculated on Invoice.html (1998) Not really WebCat (1997) WebDelivery downloads alias, not original ? (1997) Great product and great job ! (1997) problems with 2 tags (1997) Duplicates (1998)