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:

[WriteFile] problems (1997) Locking up with WebCatalog... (1997) Converting characters to numbers ... (1997) (1997) Word search (1997) WebCatalog Hosting (1996) Help! WebCat2 bug (1997) textarea (2000) writefile on OSX (2004) WebCommerce: Folder organization ? (1997) email [title] (1997) tracking variables across a site... (2000) Include a big block of text (1997) For those of you not on the WebCatalog Beta... (1997) Country & Ship-to address & other fields ? (1997) InternetWeek E-Commerce article (1998) Smith Micro Customer Service Sucks (2008) Re[2]: 2nd WebCatalog2 Feature Request (1996) WebCat2 Append problem (B14Macacgi) (1997) Online reference (1997)