Re: Referrer field to header field conversion

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 15741
interpreted = N
texte = THANK YOU PAT & ALL!!!does the set header command have to have a database specified? If so, why? ie: [SetHeader db=your.db&cart=[cart]]header30=[referrer][/setheader] I don't have any docs for this command. The Great BrianB->> P.S. I installed webcatalog 2.01 updater last night, and ever since then my ->> shopping carts have only lasted 2 hours before being auto deleted. I thought ->> it was (is) supposed to be 24 Hours?Now it's deleting shopping carts after 1 hour??? Pretty soon it'll be 30 seconds at this rate... ---------------------------------------------- Protect your right to own and arm bears. -------------------------------------------------------- ->From: Pat McCormick ->To: WebDNA-Talk@smithmicro.com ->Subject: Re: Referrer field to header field conversion ->Date: Thu, 18 Dec 1997 16:04:01 -0800 -> ->You are trying to change a field in the header of a cart. WebCatalog's ->'SmartCart' creates a unique cart before you even realize you need. -> ->To set the value of Header30 of a given cart, you need a [setHeader] context: -> ->[SetHeader db=your.db&cart=[cart]]header30=[referrer][/setheader] (see how ->[cart] works?) -> ->That string should be used where you have Header30=[url][referrer][url] -> ->By the way, [referrer] is already a URL, so doesn't need the [url] conversion ->context. That context replaces URL problem characters, like spaces, into their ->URL-acceptable gibberish: %20. I think [convertChars] converts it back to ->normal, but I will probably forever confuse these. -> ->Good Luck! ->Pat McCormick -> Associated Messages, from the most recent to the oldest:

    
  1. Re: Referrer field to header field conversion (Kenneth Grome 1997)
  2. Re: Referrer field to header field conversion (Michael Winston 1997)
  3. Re: Referrer field to header field conversion (Brian B. Burton 1997)
  4. Re: Referrer field to header field conversion (Pat McCormick 1997)
  5. Re: Referrer field to header field conversion (Sandra L. Pitner 1997)
  6. Re: Referrer field to header field conversion (Grant Hulbert 1997)
  7. Referrer field to header field conversion (Brian B. Burton 1997)
THANK YOU PAT & ALL!!!does the set header command have to have a database specified? If so, why? ie: [SetHeader db=your.db&cart=[cart]]header30=[referrer][/setheader] I don't have any docs for this command. The Great BrianB->> P.S. I installed webcatalog 2.01 updater last night, and ever since then my ->> shopping carts have only lasted 2 hours before being auto deleted. I thought ->> it was (is) supposed to be 24 Hours?Now it's deleting shopping carts after 1 hour??? Pretty soon it'll be 30 seconds at this rate... ---------------------------------------------- Protect your right to own and arm bears. -------------------------------------------------------- ->From: Pat McCormick ->To: WebDNA-Talk@smithmicro.com ->Subject: Re: Referrer field to header field conversion ->Date: Thu, 18 Dec 1997 16:04:01 -0800 -> ->You are trying to change a field in the header of a cart. WebCatalog's ->'SmartCart' creates a unique cart before you even realize you need. -> ->To set the value of Header30 of a given cart, you need a [setheader] context: -> ->[SetHeader db=your.db&cart=[cart]]header30=[referrer][/setheader] (see how ->[cart] works?) -> ->That string should be used where you have Header30=[url][referrer][url] -> ->By the way, [referrer] is already a URL, so doesn't need the [url] conversion ->context. That context replaces URL problem characters, like spaces, into their ->URL-acceptable gibberish: %20. I think [convertchars] converts it back to ->normal, but I will probably forever confuse these. -> ->Good Luck! ->Pat McCormick -> 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:

Call For Entry: Third Annual Business on The Internet (BOTI)Awards (1999) Show your support (2002) passing cart value (2003) syntax question, not in online refernce (1997) [date] insanity! (2001) More on the email templates (I like it) (1997) Netscape 3.01 can't see db in form (was problems problemsproblems) (1997) Almost a there but..bye bye NetCloak (1997) WebCatalog-NT?'s (1996) Triggers or No Triggers? (1999) writing orders to a db (1997) Draft Manual, Tutorial, and more (1997) Removing [showif] makes a big difference in speed (1997) 2.01 upgrade problems (1997) WebCatalog 4.0.1 has been released! (2000) HideIf ip= OR ip= (1998) Download capabilities (1997) Listserver problem (1997) Globals in 3.x (2002) Single Link browsing (1997)