Re: Problem: 3.0 doesn't update carts

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12535
interpreted = N
texte = >When using Communicator 4.0 the add and remove tags work as they should, >irrespective of previous clicks. It always seems to give me the most >up-to-date [cart] whenever those qualities are entered.I suspect Navigator is improperly caching the URL in this case. When you remove item 1 from the cart, the URL contains index=1, and later when you click the same button, it looks like the exact same URL to Netscape. So Netscape thinks it has already visited that link, and shows you a page from its cache instead.Here are my 2 possible fixes: 1) Add to your shopping cart pages (up inside the section) 2) Change index=[lineindex] to sku=[SKU] on the $remove command, so there is less chance of Netscape thinking it has already seen the URL before.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem: 3.0 doesn't update carts (Grant Hulbert 1997)
  2. Problem: 3.0 doesn't update carts (Kevin Furuta 1997)
>When using Communicator 4.0 the add and remove tags work as they should, >irrespective of previous clicks. It always seems to give me the most >up-to-date [cart] whenever those qualities are entered.I suspect Navigator is improperly caching the URL in this case. When you remove item 1 from the cart, the URL contains index=1, and later when you click the same button, it looks like the exact same URL to Netscape. So Netscape thinks it has already visited that link, and shows you a page from its cache instead.Here are my 2 possible fixes: 1) Add to your shopping cart pages (up inside the section) 2) Change index=[lineindex] to sku=[SKU] on the $remove command, so there is less chance of Netscape thinking it has already seen the URL before.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

WebCatalog for dummies p2.2 (2000) ReplaceFoundItems Problem (2003) hmmm (2006) [WebDNA] [redirect] include a value to pass along? (2010) Multiple catalog databases and showcart (1997) [WebDNA] [OT] Kickstarter feedback please? (2015) [WebDNA] Check if variable is blank or is raw or third condition (2010) Multiple prices (1997) stumped (2001) Date problems-more (1997) Full text search (1999) Spreadsheet Interface. (1998) Missing Cart Information (2003) Multiple Sendmail Tags on One Page (2008) Frames and cart values (1998) Simple way to create unique SKU (1997) Setting up shop (1997) WebCat2 as a chat server? (1997) Bug or syntax error on my part? (1997) PSC recommends what date format yr 2000??? (1997)