Why is this not working?
This WebDNA talk-list message is from 2002
It keeps the original formatting.
numero = 42422
interpreted = N
texte = I am attempting to rewrite header files in a shopping cart right beforethe cart is processed with WebMerchant.  The only reason I can figurewhy the headers are not being rewritten, is because the code is norbeing executed sequentially.  I do know that the variables used in the[setheader] context contain the correct values at the time they are tobe written to the headers.  I verified this fact by writing thevariables to a text file (using [writefile]) while troubleshooting thisproblem.  The writefile was placed directly above the [setheader],within the spawn.  Here is the code I am using.  It should work, butdoesn't.[spawn][waitforfile file=../orders/[cart]][setheader file=../orders/[cart]][listvariablesname=set_&exact=F][getcharsstart=5][name][/getchars]=[value]&[/listvariables]header2=&header6=&header7=&header8=&header38=[/setheader][include file=^WebMerchant/DoPurchases.inc&storeid=323149708135571][/waitforfile][/spawn]The filepath is valid; if it were not, WebMerchant (the [include] tag)would never run, but it does.Perhaps I am missing something stupid...  Any assistance would beappreciated.Thanks,Dennis-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list 
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
|  | 
Why is this not working? (Dennis J. Bonsall, Jr.  2002) | 
I am attempting to rewrite header files in a shopping cart right beforethe cart is processed with WebMerchant.  The only reason I can figurewhy the headers are not being rewritten, is because the code is norbeing executed sequentially.  I do know that the variables used in the[setheader] context contain the correct values at the time they are tobe written to the headers.  I verified this fact by writing thevariables to a text file (using [writefile]) while troubleshooting thisproblem.  The writefile was placed directly above the [setheader],within the spawn.  Here is the code I am using.  It should work, butdoesn't.[spawn][waitforfile file=../orders/[cart]][setheader file=../orders/[cart]][listvariablesname=set_&exact=F][getcharsstart=5][name][/getchars]=[value]&[/listvariables]header2=&header6=&header7=&header8=&header38=[/setheader][include file=^WebMerchant/DoPurchases.inc&storeid=323149708135571][/waitforfile][/spawn]The filepath is valid; if it were not, WebMerchant (the [include] tag)would never run, but it does.Perhaps I am missing something stupid...  Any assistance would beappreciated.Thanks,Dennis-------------------------------------------------------------This message is sent to you because you are subscribed to  the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/
Dennis J. Bonsall, Jr. 
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:
 
Simple way to create unique SKU (1997)
 
Shownext and Jumping between pages (2000)
 
Type 11 errors setting up WebCAt 2 (1997)
 
Configuring E-mail (1997)
 
Where's Cart Created ? (1997)
 
WebCat2b13MacPlugin - [math][date][/math] problem (1997)
 
WebDNA Solutions ... sorry! (1997)
 
 Stop! Stop! Stop! (2004)
 
Review comparison by PC Magazine: Open for On-line Business (1997)
 
How To question on setting up downloads (1997)
 
Reversing [ipaddress] normalization (1998)
 
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
 
Showif with an or (2003)
 
Updating checkboxes made easy !!! (1998)
 
Scoping rules in WebDNA 4.0  (2000)
 
if/then/else in founditems (2001)
 
Bad creator codes which cause access denied error message (1997)
 
WebCatalog [FoundItems] Problem - LONG - (1997)
 
WebMerchant (1997)
 
[shownext] support - MacOS (1997)