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:

minimalist shopping cart. (1997) tabs as delimiters (2004) hiding return characters (2000) Quickie question on the email templates (1997) Ampersands in database fields? (1998) Secure server question (1997) Using Plug-In while running 1.6.1 (1997) Formulas.db + Users.db (1997) TCPconnect to DNS (2000) Cancel Subscription (1996) WebCommerce: Folder organization ? (1997) Windows: Apache in place of IIS (2002) WebTen + WebCatalog Plugin clarification (1998) WebCatalog Beta Documentation (1997) Rumpus/Typhoon modules included in Typhoon ... (1997) suffix mapping for NT? (1997) WebCat2b12 CGI Mac -- Problems propagating the cart through frames...still (1997) Emailer on NT not working. (1999) Associative lookup style? + bit more (1997) greater than or equal to (1997)