Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103245
interpreted = N
texte = > I don't know the answer to your problem because I never use > XML style, but if you were using default style exclusively > here's what you need to know: > > First, never put url tags around a question mark so this is > wrong from the start: > > [REDIRECT url=[URL][thisurl]?ucn=[cart]&ntce=t[/URL]] I disagree. code like this exact line: [REDIRECT url=[URL]thanks.tmpl?crt=[URL][crt][/URL]&sku=[URL][sku][/ URL]&em=[URL][em][/URL][/URL]] has been working in heavy production for a long time. I know what you were thinking, but [url] has been given special status to 'do the right thing' when wrapped around various context/tags' param values. (more than I too used to think.) > > Second, you do not have to use the "url=" part if you url > everything after the question mark OR when you're only > passing one parameter, so this should work fine: > > [redirect [thisurl]?[url]ucn=[cart]&ntce=t[/url]] > > ... and so should this: > > [redirect url=[thisurl]?ucn=[url][cart][/url]&ntce=t] understood. I appreciate. Again though, the issue I am trying to get feedback about is deeper. I will post *simple* code you all can copy, paste, upload, hit with your browser, later today. ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  2. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  3. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  4. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  5. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  6. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  7. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Kenneth Grome 2009)
  8. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
  9. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  10. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  11. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  12. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (christophe.billiottet@webdna.us 2009)
  13. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
  14. Re: [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (Bob Minor 2009)
  15. [WebDNA] agree? --> [url] broken inside [redirect], on a square-bracket-style include, included from a XML-style page (John Butler 2009)
> I don't know the answer to your problem because I never use > XML style, but if you were using default style exclusively > here's what you need to know: > > First, never put url tags around a question mark so this is > wrong from the start: > > [REDIRECT url=[url][thisurl]?ucn=[cart]&ntce=t[/URL]] I disagree. code like this exact line: [REDIRECT url=[url]thanks.tmpl?crt=[url][crt][/URL]&sku=[url][sku][/ URL]&em=[url][em][/URL][/URL]] has been working in heavy production for a long time. I know what you were thinking, but [url] has been given special status to 'do the right thing' when wrapped around various context/tags' param values. (more than I too used to think.) > > Second, you do not have to use the "url=" part if you url > everything after the question mark OR when you're only > passing one parameter, so this should work fine: > > [redirect [thisurl]?[url]ucn=[cart]&ntce=t[/url]] > > ... and so should this: > > [redirect url=[thisurl]?ucn=[url][cart][/url]&ntce=t] understood. I appreciate. Again though, the issue I am trying to get feedback about is deeper. I will post *simple* code you all can copy, paste, upload, hit with your browser, later today. ------------ John Butler (Govinda) govinda.webdnatalk@gmail.com John Butler

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:

[WebDNA] Strange MATH result (2010) Can I invoke an ssi plugin from within a webcat page (1997) Summing fields (1997) Adding up weights (1998) [SMSI] WebDNA is too good to go away! (2006) ExclusiveLock (2000) OT: Need (a tiny bit) of help setting up MySQL (2000) [WebDNA] Initial setup problems with 6.2 (2009) [movefile] (1999) creating a ShipCosts database (1997) Search Command, multiple dbs, etc. --still confused (2000) Number of Open Databases (1998) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Limitations on fields? Server is crashing (1997) [showif] with ! (2000) This list needs a digest: rant, rave... (1997) Contexts and Ampersands (1997) AppleScript: Tell application:app location? (1998) Relevancy Rating (1998) hidden databases (2000)