Re: [WebDNA] [redirect] include a value to pass along?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105684
interpreted = N
texte = Steve, you are all set, so I don't need to say anything more here really.. but just a side note: One thing that factors in to the overall understanding here is that the [url] context is useful (if not downright required when you have dynamic vals coming in via variables - for webdna context param vals) for not only preventing URLs and comparisons (like [showif...]) from breaking/failing, but also useful *anytime* you are not sure if the chars that end up in a webdna context *parameter* ("param") value might break that param's value. Like the "&" char delimits one param from another .. in webdna as well as in URLs.. so you can wrap the param value with [url]...[/url]. The background on why [redirect] has those 2 formats/methods that you saw here today is that in the old days [redirect myPage.html] was good enough. But later they wanted *every* param to be defined by a name/ value pair (not just a value sometimes).. so that it was consistent with what used to be called webdna's "XML syntax" - something that has been dropped in the meanwhile. The bit after "[redirect" is the page you want to redirect to. But that is actually [redirect]'s *param* value.. and so in the XML syntax style needed to be named. Just like [formvariables] has a "name" param.. and an "exact" param.. so like that [redirect] has the "url" *parameter*. Again this is just some background; the methods the others already showed you today keep your (http) URL params from breaking inside your [redirect].. I just wanted to point out why different methods evolved. ------------ Govinda govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [redirect] include a value to pass along? (Steve Raslevich 2010)
  2. Re: [WebDNA] [redirect] include a value to pass along? (Kenneth Grome 2010)
  3. Re: [WebDNA] [redirect] include a value to pass along? (Govinda 2010)
  4. Re: [WebDNA] [redirect] include a value to pass along? (christophe.billiottet@webdna.us 2010)
  5. Re: [WebDNA] [redirect] include a value to pass along? (Kenneth Grome 2010)
  6. Re: [WebDNA] [redirect] include a value to pass along? (Steve Raslevich 2010)
  7. Re: [WebDNA] [redirect] include a value to pass along? ("Psi Prime Inc, Matthew A Perosi " 2010)
  8. Re: [WebDNA] [redirect] include a value to pass along? (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] [redirect] include a value to pass along? Terry - had (Steve Raslevich 2010)
  10. Re: [WebDNA] [redirect] include a value to pass along? (Steve Raslevich 2010)
  11. RE: [WebDNA] [redirect] include a value to pass along? ("Terry Nair" 2010)
  12. Re: [WebDNA] [redirect] include a value to pass along? (Lawrence 2010)
  13. Re: [WebDNA] [redirect] include a value to pass along? (Kenneth Grome 2010)
  14. [WebDNA] [redirect] include a value to pass along? (Steve Raslevich 2010)
Steve, you are all set, so I don't need to say anything more here really.. but just a side note: One thing that factors in to the overall understanding here is that the [url] context is useful (if not downright required when you have dynamic vals coming in via variables - for webdna context param vals) for not only preventing URLs and comparisons (like [showif...]) from breaking/failing, but also useful *anytime* you are not sure if the chars that end up in a webdna context *parameter* ("param") value might break that param's value. Like the "&" char delimits one param from another .. in webdna as well as in URLs.. so you can wrap the param value with [url]...[/url]. The background on why [redirect] has those 2 formats/methods that you saw here today is that in the old days [redirect myPage.html] was good enough. But later they wanted *every* param to be defined by a name/ value pair (not just a value sometimes).. so that it was consistent with what used to be called webdna's "XML syntax" - something that has been dropped in the meanwhile. The bit after "[redirect" is the page you want to redirect to. But that is actually [redirect]'s *param* value.. and so in the XML syntax style needed to be named. Just like [formvariables] has a "name" param.. and an "exact" param.. so like that [redirect] has the "url" *parameter*. Again this is just some background; the methods the others already showed you today keep your (http) URL params from breaking inside your [redirect].. I just wanted to point out why different methods evolved. ------------ Govinda govinda.webdnatalk@gmail.com Govinda

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:

Showing unopened cart (1997) Introduction/Tutorial/QuickStart (1997) DB Field Name? (2000) about this server and links to who (1997) autosensing lanague selection (1997) WebCatalog can't find database (1997) Location of Browser Info.txt file (1997) writefiles (1999) Help HTML reader (1999) [WebDNA] Old Problem, the exclamation point (2014) Fun with dates (1997) Duplicate Cart #'s (1998) 2 easy questions re: [showif] and [sendmail] (1997) Can you do this??? and other stuff (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) RE: Nesting [ListFiles] (1998) Old & New? (2003) Random Generator (2005) WebCat2: Formulas.db question (1997) Execute Applescript (1997)