Referrer field to header field conversion
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 15735
interpreted = N
texte = Hello Again!A while ago I asked how to take the initial referrer of a visitor to my website and put this info in their shopping cart for later reference. I gotsome excellent suggestions, but I still can't seem to make it work. Theproblem is the visitor comes to an entry page, then clicks the big prettygraphic to actually enter the site, in the process doing a search, andgenerating a cart value. ( I now realise that this isn't required, as youcan do embedded searches (which I do), and generate cart numbers later, butanyway...) I want to add the Header30=[referrer] tag, something like this...
This doesn't work, because you apparently can't add info to a cart value(after all it only exists as a number in a URL)so then I tried...which creates a cart file, doesn't append the referrer into it, and willcause a problem if anybody uses the back button after shopping for a whileto get back to the search screen!so then I tried...but this was doomed to fail as I have no SKU with a value of 0 and I reallyhave NO desire to add any line items to the shopping cart file at this time.(not to mention stupid customer questions that I would invariable hear as aresult of this!)So again I am exactly where I started...nowhere.What I need is a $create? command to create a shopping cart file so I canplay with the headers without adding any line items. Or is there anotherway I am overlooking?Brian B. BurtonP.S. I installed webcatalog 2.01 updater last night, and ever since then myshopping carts have only lasted 2 hours before being auto deleted. I thoughtit was (is) supposed to be 24 Hours?
Associated Messages, from the most recent to the oldest:
Hello Again!A while ago I asked how to take the initial referrer of a visitor to my website and put this info in their shopping cart for later reference. I gotsome excellent suggestions, but I still can't seem to make it work. Theproblem is the visitor comes to an entry page, then clicks the big prettygraphic to actually enter the site, in the process doing a search, andgenerating a cart value. ( I now realise that this isn't required, as youcan do embedded searches (which I do), and generate cart numbers later, butanyway...) I want to add the Header30=
[referrer] tag, something like this...
[url][referrer][/url]&cart=
[cart]&db=myprod.txt&geSKU=0>This doesn't work, because you apparently can't add info to a cart value(after all it only exists as a number in a URL)so then I tried...
[url][referrer][/url]&cart=
[cart]>which creates a cart file, doesn't append the referrer into it, and willcause a problem if anybody uses the back button after shopping for a whileto get back to the search screen!so then I tried...
[url][referrer][/url]&cart=
[cart]&db=myprod.txt&sku=0>but this was doomed to fail as I have no SKU with a value of 0 and I reallyhave NO desire to add any line items to the shopping cart file at this time.(not to mention stupid customer questions that I would invariable hear as aresult of this!)So again I am exactly where I started...nowhere.What I need is a $create? command to create a shopping cart file so I canplay with the headers without adding any line items. Or is there anotherway I am overlooking?Brian B. BurtonP.S. I installed webcatalog 2.01 updater last night, and ever since then myshopping carts have only lasted 2 hours before being auto deleted. I thoughtit was (is) supposed to be 24 Hours?
Brian B. Burton
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:
Store Builder, technical infos (1998)
details (2003)
Forcing a NEWCART (1997)
Requiring that certain fields be completed (1997)
limit to listwords (2001)
WebCat hosting providers? (1997)
Strange Search Results (2004)
New WebCatalog site (1997)
showif and cart (1997)
Sorry Off Topic! (1998)
WYSIWYG Entry of text fields (2001)
Bug? (1997)
PCS Frames-Default page is solution! (1997)
Conveting Characters to Graphics (1997)
Re:2nd WebCatalog2 Feature Request (1996)
Is this possible, WebCat2.0 and checkboxes (1997)
WebCat2 - many [carts] on one template page? (1997)
Don't tick me off :) [elaspedtime] (1997)
TemplateCacheSize preference! (1998)
.html to .tpl; ***TIP (1998)