Re: Help with Repost Data msg from form

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13021
interpreted = N
texte = >>Yes. when the message comes up if the user selects 'Cancel' then all is OK, >>however, if the user selects ' OK' to repost then the form is processed >>twice. For example, this results in two items added to the cart. This error >>appears to occur every second time if you go back and resubmit. > >This is not an error. In fact, it is an error *not* to allow the second submission. There are plenty of sites that want to add the same product to the cart on 2 different occasions (1 pair of red tennis shoes, and a second pair of green) as 2 different lineitems. The browsers that do so much caching that they don't actually send the second request are in error. When you are dealing with dynamic pages, as WebCatalog does, you must let WebCatalog see all of the form postings so *it* can decide if there's an error or not. > >To solve your situation, where you don't want a second item added to the cart, you can put WebDNA into the cart page that examines contents of the cart and disallows the second $Add of an identical product. The choice should be up to you, the WebMaster, and not the browser. Dear Grant, Perhaps I don't understand something, or I need to clarify... We don't mind if a customer selects the same product item twice and we allow multiple $Adds of identical items. The problem is that Netscape 2 & 3 under Windows 95 on a PC is sometimes throwing up this Repost Form Data? message box when the customer submits ANY form. It doesn't matter if it is a $search or a $add, they can still get the message box. The worst case is if they then go and select OK to the message box after a $add to cart it results in a second identical entry incorrectly added. However, the message box at any time after submitting any form is unacceptable.The forms are working OK on other browsers and on other platforms. This might be a PC Netscape thing with WebCatalog CGI but we NEED to get around it somehow ASAP. I don't know what sort of WebDNA Tags to use to stop this Netscape Repost Form Data? message box coming up. Ideas or help are very welcome. Please, we invite you to take a quick look at our catalog site: www.pwallen.co.uk . It has 1000's of Stock Items linked together as Products within Categories.Thanks you, Caius Hawkins Webmaster MacIS Europe Associated Messages, from the most recent to the oldest:

    
  1. Re: Help with Repost Data msg from form (Grant Hulbert 1997)
  2. Re: Help with Repost Data msg from form (Caius Hawkins 1997)
  3. Re: Help with Repost Data msg from form (Grant Hulbert 1997)
  4. Re: Help with Repost Data msg from form (Caius Hawkins 1997)
  5. Re: Help with Repost Data msg from form (Kenneth Grome 1997)
  6. Help with Repost Data msg from form (Caius Hawkins 1997)
>>Yes. when the message comes up if the user selects 'Cancel' then all is OK, >>however, if the user selects ' OK' to repost then the form is processed >>twice. For example, this results in two items added to the cart. This error >>appears to occur every second time if you go back and resubmit. > >This is not an error. In fact, it is an error *not* to allow the second submission. There are plenty of sites that want to add the same product to the cart on 2 different occasions (1 pair of red tennis shoes, and a second pair of green) as 2 different lineitems. The browsers that do so much caching that they don't actually send the second request are in error. When you are dealing with dynamic pages, as WebCatalog does, you must let WebCatalog see all of the form postings so *it* can decide if there's an error or not. > >To solve your situation, where you don't want a second item added to the cart, you can put WebDNA into the cart page that examines contents of the cart and disallows the second $Add of an identical product. The choice should be up to you, the WebMaster, and not the browser. Dear Grant, Perhaps I don't understand something, or I need to clarify... We don't mind if a customer selects the same product item twice and we allow multiple $Adds of identical items. The problem is that Netscape 2 & 3 under Windows 95 on a PC is sometimes throwing up this Repost Form Data? message box when the customer submits ANY form. It doesn't matter if it is a $search or a $add, they can still get the message box. The worst case is if they then go and select OK to the message box after a $add to cart it results in a second identical entry incorrectly added. However, the message box at any time after submitting any form is unacceptable.The forms are working OK on other browsers and on other platforms. This might be a PC Netscape thing with WebCatalog CGI but we NEED to get around it somehow ASAP. I don't know what sort of WebDNA Tags to use to stop this Netscape Repost Form Data? message box coming up. Ideas or help are very welcome. Please, we invite you to take a quick look at our catalog site: www.pwallen.co.uk . It has 1000's of Stock Items linked together as Products within Categories.Thanks you, Caius Hawkins Webmaster MacIS Europe Caius Hawkins

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] Permissions changing of .db (2013) Where's Cart Created ? (1997) Emailer (1997) Falsifying [BROWSERNAME] (1998) [subtotal] (2000) WebCat2b12plugin - [search] is broken ... not! (1997) [WebDNA] Authnet temporarily down? (2009) Weird bug, or is there something amiss? (1997) [WebDNA] anyone successfully using webdna with paypal's NVP API? (2008) Multiple Unique SKUs (2000) E-mail Attachments (1997) WebCatalog and WebTen (1997) [authenticate] (1999) WC2b15 File Corruption (1997) [showif]/[hideif] question (1997) Try not to laugh (2007) RE: New WebCatalog Version !!! (1997) Text data with spaces in them... (1997) WebCatalog Features (1997) [SHOWIF] (1997)