Re: question: back button prevention

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12650
interpreted = N
texte = >Is there a way to prevent a user from doing the $pruchase twice? As it is >now, the user can go back to the invoice page by using the back button and >then press the $purchase again. The results are zeroed out but it plays >havoc on webmerchant.1) Manually add two new preferences to your WebCatalog Prefs file CompletedFolderCompletedOrders/ ProblemsFolderProblems/2) Create folders called CompletedOrders and Problems *inside* your store folder (right next to the ShoppingCarts and Orders folders).3) Set WebMerchant's preferences to use those 2 foldersWebCatalog always checks in those folders before a $Purchase, and if the cart file is sitting in any of them, it will issue an error message instead of re-submitting the order.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: question: back button prevention (Grant Hulbert 1997)
  2. Re: question: back button prevention (Kenneth Grome 1997)
  3. question: back button prevention (Kevin Furuta 1997)
>Is there a way to prevent a user from doing the $pruchase twice? As it is >now, the user can go back to the invoice page by using the back button and >then press the $purchase again. The results are zeroed out but it plays >havoc on webmerchant.1) Manually add two new preferences to your WebCatalog Prefs file CompletedFolderCompletedOrders/ ProblemsFolderProblems/2) Create folders called CompletedOrders and Problems *inside* your store folder (right next to the ShoppingCarts and Orders folders).3) Set WebMerchant's preferences to use those 2 foldersWebCatalog always checks in those folders before a $Purchase, and if the cart file is sitting in any of them, it will issue an error message instead of re-submitting the order.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:

WebTen and WebCat (1997) RE: [taxRate] [TaxTotal] ? (1997) I think I found a bug (2001) WCS Newbie question (1997) Re: (1997) Way [OT] - OS 10.2 Server (2002) View order not right (1997) web delivery (1997) Hiding HTML and page breaks (1997) [WebDNA] Secure Cookies (2009) Re[2]: WC slowness on NT (2000) Dreamweaver MX (again) (2002) carriage returns in data (1997) tcpconnect/tcpsend frustrations (2002) [WebDNA] [sendmail] sending two emails (2012) a search based on ^(contains) (1998) Problems with [Math] (1998) Help! Odd, irreproducible happenings. (1998) Projects & Contractors (1997) Custom formulas.db (1998)