Adding Header Values with [SetHeader]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16247
interpreted = N
texte = I want my new customers to have the choice of entering their name, address, etc. either:When they first enter the site or After they have ordered.In both cases I want the new customer information to first go into the customer database, and then into the header fields of the cart.I have the entry of the customer information down fine. [append db=d2mcust.db] dummy=xx&firstname=[firstname]&lastname=[lastname]&company=[company]&building=[building]&suite=[suite]&zipcode=[zipcode]&areacode=[areacode]&phone=[phone]&faxareacode=[faxareacode]&emailname=[emailname]&specdel=[specdel]&custcode=[math]newnum+1[/math] [/append]I would like to use the [SetHeader] context to place the above information into the header field. Where do I put the [SetHeader] context?I assume that it should be something like this: [SetHeader cart=[cart]&db=d2mcust.db]Header2=[building]&Header3=[faxareacode]&Header3=[suite] [/SetHeader]Thanks. Larry Orchier Associated Messages, from the most recent to the oldest:

    
  1. Re: Adding Header Values with [SetHeader] (Larry Orchier 1998)
  2. Re: Adding Header Values with [SetHeader] (Grant Hulbert 1998)
  3. Re: Adding Header Values with [SetHeader] (Kenneth Grome 1998)
  4. Adding Header Values with [SetHeader] (Larry Orchier 1998)
I want my new customers to have the choice of entering their name, address, etc. either:When they first enter the site or After they have ordered.In both cases I want the new customer information to first go into the customer database, and then into the header fields of the cart.I have the entry of the customer information down fine. [append db=d2mcust.db] dummy=xx&firstname=[firstname]&lastname=[lastname]&company=[company]&building=[building]&suite=[suite]&zipcode=[zipcode]&areacode=[areacode]&phone=[phone]&faxareacode=[faxareacode]&emailname=[emailname]&specdel=[specdel]&custcode=[math]newnum+1[/math] [/append]I would like to use the [setheader] context to place the above information into the header field. Where do I put the [setheader] context?I assume that it should be something like this: [SetHeader cart=[cart]&db=d2mcust.db]Header2=[building]&Header3=[faxareacode]&Header3=[suite] [/SetHeader]Thanks. Larry Orchier Larry Orchier

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:

whole word search bringing irrelevant results.. (2000) Multiple prices (1997) a little OT (2001) Format 1.15 to 1:15:00 or 01:15:00 (2002) Finalizing Orders (2000) ListFiles Bug (1998) Install Webcatalog under NT4.0 and Microsoft IIS 2.0 (1997) [WebDNA] Downloadable docs (2011) Help with Grep exchange (2005) Odd Cart Behavior (1997) Pre-flight public flag (1997) WebCat2: Items xx to xx shown, etc. (1997) Public beta 6 for WebCatalog 4.0 is now available (2000) WebCat editing, SiteGuard & SiteEdit (1997) Shipping charges based on dollar level (1997) how to check for no value while using [URL] to prevent cr (1999) Payflow Pro help Mac OS 9 (2002) Listfiles and nothing found (2001) WC Database Format (1997) Serving images from databases (1998)