Re: Cart/Cookie

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 62085
interpreted = N
texte = Figured out the cookie problem. The CART was being set into the cookie, but then an INCLUDE file I had programmed did not retrieve the cookie - it started another cart (I was using cart=[cart], which it assumed was undefined, so it gave it a new one). Apparently, it happened so fast that the cart algorithm was always off by only one. I fixed this by putting cart=[getcookie name=CustCart] in place of the cart=[cart]. Thanks for the suggestions. ----- Patrick Junkroski President/CEO 239.642.0304 http://www.vsm.net On May 31, 2005, at 2:11 PM, Gregg Luhring wrote: > Thanks for all suggestions. I put a redirect to a non-existant > directory in the errormessages.db > > Works perfect so far. Thanks to one of my WebDNA hosting clients > for the winning tip! > > Gregg > -- > Gregg Luhring > > On May 30, 2005, at 4:30 PM, Brian B. Burton wrote: > > >> in your errormessages.bd reference an include file >> >> in the included file use the returnraw context to return an actual >> 404 status code error message. >> >> Without extensive testing, i have no idea what browsers will/won't >> show any actual message the follows the 404 status header. >> >> Brian B. Burton >> Department of Redundancy Department >> --------------------------------------------------------------- >> Specializing in website design and development to make your >> customers exclaim: >> "Out of all the websites I visit, yours is the easiest to use!" >> >> >> >> >> >> >> On May 27, 2005, at 12:50 PM, Charles Kline wrote: >> >>> >>> On May 27, 2005, at 9:49 AM, Gregg Luhring wrote: >>> >>> >>>> When I get the error message, "Error: template '[param1]' not >>>> found" I would rather get a 404 from the server instead of the >>>> message from the errormessages.db >>>> Can someone help me? >>>> Gregg >>>> -- >>>> >>> >>> Edit the ErrorMessage.db in the WebCatalogEngine directory. >>> TemplateNotFound Error: template '[param1]' not found >>> to whatever output you want instead of the Error: part. Can even >>> be HTML as you will see from some of the other errors in there >>> >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Cart/Cookie ( Patrick Junkroski 2005)
  2. Re: Cart/Cookie question ( Patrick Junkroski 2005)
  3. Re: Cart/Cookie question ( Gary Krockover 2005)
  4. Re: Cart/Cookie question ( "Dennis J. Bonsall, Jr." 2005)
  5. Cart/Cookie question ( Patrick Junkroski 2005)
Figured out the cookie problem. The CART was being set into the cookie, but then an INCLUDE file I had programmed did not retrieve the cookie - it started another cart (I was using cart=[cart], which it assumed was undefined, so it gave it a new one). Apparently, it happened so fast that the cart algorithm was always off by only one. I fixed this by putting cart=[getcookie name=CustCart] in place of the cart=[cart]. Thanks for the suggestions. ----- Patrick Junkroski President/CEO 239.642.0304 http://www.vsm.net On May 31, 2005, at 2:11 PM, Gregg Luhring wrote: > Thanks for all suggestions. I put a redirect to a non-existant > directory in the errormessages.db > > Works perfect so far. Thanks to one of my WebDNA hosting clients > for the winning tip! > > Gregg > -- > Gregg Luhring > > On May 30, 2005, at 4:30 PM, Brian B. Burton wrote: > > >> in your errormessages.bd reference an include file >> >> in the included file use the returnraw context to return an actual >> 404 status code error message. >> >> Without extensive testing, i have no idea what browsers will/won't >> show any actual message the follows the 404 status header. >> >> Brian B. Burton >> Department of Redundancy Department >> --------------------------------------------------------------- >> Specializing in website design and development to make your >> customers exclaim: >> "Out of all the websites I visit, yours is the easiest to use!" >> >> >> >> >> >> >> On May 27, 2005, at 12:50 PM, Charles Kline wrote: >> >>> >>> On May 27, 2005, at 9:49 AM, Gregg Luhring wrote: >>> >>> >>>> When I get the error message, "Error: template '[param1]' not >>>> found" I would rather get a 404 from the server instead of the >>>> message from the errormessages.db >>>> Can someone help me? >>>> Gregg >>>> -- >>>> >>> >>> Edit the ErrorMessage.db in the WebCatalogEngine directory. >>> TemplateNotFound Error: template '[param1]' not found >>> to whatever output you want instead of the Error: part. Can even >>> be HTML as you will see from some of the other errors in there >>> >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ > ------------------------------------------------------------- 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://webdna.smithmicro.com/ Patrick Junkroski

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:

[WebDNA] Email delivery problems? (2010) Doctype (2004) WebCat2: multiple currency support (1997) Paradata/Moneris Gateway (2005) WebCat2: multiple currency support (1997) HomePage Caution (1997) SQL db type (2006) Credit Card Number Stripping Digit (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCat2b13 Command Reference Doc error (1997) same bill to and ship to? (1998) Opinion: [input] should be called [output] ... (1997) wierd crashes for multi-sendmails on NT (1997) 2.0 Info (1997) Setting up the server (1997) Errata: WCS Newbie question (1997) WebCatalog Help (2002) Which Pref is faster? (1998) A quickie question (1997) Sorting by date (1997)