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:
how to post without certain data appearing in the html source (2001)
Reversed words (1997)
[SHOWIF AND/OR] (1997)
Missing from Docs [folderName] (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
Web Mail (2000)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Weird Problem (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
911: testing if the field is empty (2000)
encrypting without "ugly" URLs (2005)
Large founditems loops (2000)
What would be sweet is (2003)
Odd request (2003)
[WebDNA] fileinfo - need photo w & h written to a database (2016)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
[ConvertChars] problem (1997)
OT: Cybercash migration. (2001)
listing certain items in the orderfile (2002)
Problems getting parameters passed into email. (1997)