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 fileCompletedFolder
CompletedOrders/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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 fileCompletedFolderCompletedOrders/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 Solution11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMasterSan Diego, CA 92128 | SiteGuard619/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:
[SQL] on MacOs to SQL Server ... HOW TO? (2000)
Help formatting search results w/ table (1997)
# fields limited? (1997)
Email within tmpl ? (1997)
Upgrade to web DNA6.0 (2004)
RE: WebCatalog NT beta 18 now available (1997)
webten vs. webstar (1998)
Protecting Files (2005)
authorizenet (2001)
Alternating colors (1997)
[WebDNA] RevTalk: Possible WebDNA competitor? (2010)
File Upload, Browser Timeout (2003)
[WebDNA] Apache configuration fail when... (2013)
WebCat2 several catalogs? (1997)
Secure server question (1997)
RE: completed orders database (1997)
WebCommerce: Folder organization ? (1997)
[table] retained in memory (2006)
update on wn searching (1997)
Banners (1997)