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:

Problems with [Search] param - Mac Plugin b15 (1997) Locking up with WebCatalog... (1997) WCS Newbie question (1997) Another issue with [Date format] (1998) Search for 20 finds 2000, 200 Why? (1997) WebCommerce: Folder organization ? (1997) Email within tmpl ? (1997) setitems, one more thing (1997) RE: WebCat vs. ASP (1999) .html processing? (1998) Netscape v. IE (1997) Sku numbers (1997) OT: Prevent Caching js Files (2003) b12 cannot limit records returned and more. (1997) Crazy dates (was: sorting dates) (1999) WebCat for Unix (1999) RE: Clearing orders and database help! (1997) Silly Question (2003) Re2: frames & carts (1997) [WebDNA] Windows server version vs WebDNA fastcgi in Mojave (2019)