PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
25. Performing a process on several successive pages
Previous pageTable of contentsNext page
In a business site, orders can be placed on several pages:
  • page 1: Select products to order.
  • page 2: View basket.
  • page 3: Validate the order and enter the customer details.
Page 1: Products
Page 2: Basket
Page 3: Customer details

In this case, the write-to-file operation must ONLY be performed in the code of the button that will validate the order: all elements must be stored until the order is validated. Don't write to the data files being processed
Remark: You also have the ability to use a transaction but we recommend that you store the order details.
Previous pageTable of contentsNext page
Comments
Click [Add] to post a comment