Re: Duplicate Cart Problem in Netscape SOLUTION

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28678
interpreted = N
texte = on 03/07/00 10:29 AM, Paul Willis at paul@netro42.com wrote:> To fix it add these lines to the pages with the [cart] tag on... > > [SETMIMEHEADER name=Pragma&value=no-cache] > [SETMIMEHEADER name=Expires&value=Thu, 01 Dec 1994 16:00:00 GMT] > [SETMIMEHEADER name=Cache-Control&value=max-age=0] > > They will tell the browser not to cache the pages.This works like a charm. I can now resume shopping with no cart number duplication at all.I changed the link on the ThankYou.tpl page to be:Start a New Shopping Trip (I also tried it with the newcart command in the link, too, but couldn't see that it made any difference, so I removed it.)I added Paul's idea to each page in the site, whether it contains [cart] or not. (Can't hurt...can it?)Now, everything seems to work perfectly well in Netscape and in IE. The problem evidently does NOT occur in the Mac version of IE 4.x, but I have no idea if it will pop up in any other browsers such as Opera, AOHell, whatever.Better safe than sorry, eh?Thanks, Paul.Glenn------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Duplicate Cart Problem in Netscape SOLUTION (Paul Willis 2000)
  2. Re: Duplicate Cart Problem in Netscape SOLUTION (Glenn Busbin 2000)
on 03/07/00 10:29 AM, Paul Willis at paul@netro42.com wrote:> To fix it add these lines to the pages with the [cart] tag on... > > [SETMIMEHEADER name=Pragma&value=no-cache] > [SETMIMEHEADER name=Expires&value=Thu, 01 Dec 1994 16:00:00 GMT] > [SETMIMEHEADER name=Cache-Control&value=max-age=0] > > They will tell the browser not to cache the pages.This works like a charm. I can now resume shopping with no cart number duplication at all.I changed the link on the ThankYou.tpl page to be:Start a New Shopping Trip (I also tried it with the newcart command in the link, too, but couldn't see that it made any difference, so I removed it.)I added Paul's idea to each page in the site, whether it contains [cart] or not. (Can't hurt...can it?)Now, everything seems to work perfectly well in Netscape and in IE. The problem evidently does NOT occur in the Mac version of IE 4.x, but I have no idea if it will pop up in any other browsers such as Opera, AOHell, whatever.Better safe than sorry, eh?Thanks, Paul.Glenn------------------------------------------------------------- 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 Glenn Busbin

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:

service stop and restart (1997) [SearchString] problem with [search] context (1997) database freeze (1997) Generating Report Totals (1997) How To get Some Help (2003) WebCat editing, SiteGuard & SiteEdit (1997) (1997) WebCatalog vs. Cold Fusion (1998) 2.0Beta Command Ref (can't find this instruction) (1997) WebCat2b12 Mac.acgi--[searchstring] bug (1997) WCS Newbie question (1997) whole word matching (2004) PCS Frames (1997) 2nd WebCatalog2 Feature Request (1996) Taxes rates based on item and State (1998) frames & carts (1997) Stinkin' [Referrer] (1998) Using Plug-In while running 1.6.1 (1997) b12 cannot limit records returned and more. (1997) A Global Variable (1997)