ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WEBDEV concepts / Part 2 - Developing a website
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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: Selecting the products to order.
  • page 2: Viewing the basket.
  • page 3: Validating the order and typing the customer details.
Page 1: Product selection
Page 2: Shopping cart
Page 3: Customer details

In this case, the write-to-file operation must ONLY be performed in the code of the button for confirming the order. All the elements of the order must be stored until the order is confirmed. Don't write to the data files being processed
Note: It's also possible to use a transaction, but it is recommended to save the order details.
Previous pageTable of contentsNext page
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help