[SetHeader] docs?

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15441
interpreted = N
texte = The [SetHeader] docs are painful to find... the PDF manual isn't up to date with the HTML. For those who keep track of things, heads up.For anyone following my saga, I discovered that the following code allowed me to slip billing info into the shipping info - which may be useful in your code. My approach originally was to use a [math] context which failed since I wasn't working with numbers AND it doesn't allow one to set header fields.-- BEGIN SNIPPET(from a billing.tmpl via POST method form to shipping.tmpl$showcart)[showif [shippingSameAsBilling]=T] [SetHeader cart=[cart]&db=[db]]ShipToname=[name]&ShipTocompany=[company][/SetHeader] [/showif](use as many header variables as you like)-- END SNIPPETIt wasn't clear at all to me that I needed to use: ShipToname=[name] instead of >[ShipToname]=[name]although it makes sense to me NOW, since in-between the [] it would be replaced with the value =Dan which is complete nonsense.G'day.Dan Keldsen - djk@delphigroup.com Director, I.S./Webmaster - webmaster@delphigroup.com Delphi Consulting Group, Inc. - http://www.delphigroup.com/ 100 City Hall Plaza - ph: 617-247-1511 Boston, MA 02108-2106 - fax:617-247-4957 Associated Messages, from the most recent to the oldest:

    
  1. [SetHeader] docs? (Dan Keldsen 1997)
The [setheader] docs are painful to find... the PDF manual isn't up to date with the HTML. For those who keep track of things, heads up.For anyone following my saga, I discovered that the following code allowed me to slip billing info into the shipping info - which may be useful in your code. My approach originally was to use a [math] context which failed since I wasn't working with numbers AND it doesn't allow one to set header fields.-- BEGIN SNIPPET(from a billing.tmpl via POST method form to shipping.tmpl$showcart)[showif [shippingSameAsBilling]=T] [SetHeader cart=[cart]&db=[db]]ShipToname=[name]&ShipTocompany=[company][/SetHeader] [/showif](use as many header variables as you like)-- END SNIPPETIt wasn't clear at all to me that I needed to use: ShipToname=[name] instead of >[ShipToname]=[name]although it makes sense to me NOW, since in-between the [] it would be replaced with the value =Dan which is complete nonsense.G'day.Dan Keldsen - djk@delphigroup.com Director, I.S./Webmaster - webmaster@delphigroup.com Delphi Consulting Group, Inc. - http://www.delphigroup.com/ 100 City Hall Plaza - ph: 617-247-1511 Boston, MA 02108-2106 - fax:617-247-4957 Dan Keldsen

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:

Mac 4.0b2 Installer Problems (2000) Roundup function? (1997) Problems getting parameters passed into email. (1997) 2.0Beta Command Ref (can't find this instruction) (1997) [math] with first letter in field? (1997) Installer AppleScript (2000) Memory Parameters (1998) Searching an Email database (1997) WebCat2 - Getting to the browser's username/password data (1997) Options for http uploading of files (1999) Date comparison has serious bug ... (1998) Re:Virtual hosting and webcatNT (1997) Highlighting words found in a keyword search (2003) Secure server question (1997) [WebDNA] [test] (2009) Separate SSL Server (1997) File perms (2002) Re[2]: Date Time Oddness (1999) [WebDNA] WebDNA receiving numerous signal SIGSEGV then crashing (2016) WebCat2: Items xx to xx shown, etc. (1997)