Matt Posted August 11, 2015 Share Posted August 11, 2015 Larry, I had a quick question about the checkout process in Example 2 of the book. Is it possible to use sessions to store data between the pages (i.e. shipping, billing, etc...) and inserting the data in the database at the end rather than after each page is completed? There are two benefits that I can see from using this approach: 1) There will not be any uncompleted orders in the database if the user decides to back out at the last minute. 2) The user can go back and change their information at any time in the process by clicking the link at the top for each checkout step. Is this a sound way of doing it or are there any logistics problems that might come up? Thanks, Matt Link to comment Share on other sites More sharing options...
Larry Posted August 12, 2015 Share Posted August 12, 2015 I don't see any problems with it. Link to comment Share on other sites More sharing options...
Matt Posted August 13, 2015 Author Share Posted August 13, 2015 Thanks Larry! My case is simpler because it's a service, so there is no shipping info. I will do it with sessions then. Matt Link to comment Share on other sites More sharing options...
Recommended Posts