Last post Jul 26, 2011 10:18 PM by asplearning
Jul 26, 2011 01:08 AM|asplearning|LINK
Hello everyone, I would like to ask a question about rollback. I have a wizard control on my page. There are two steps on the wizard control. When the user clicks next to move to step 2, I insert some data into the table. What I want to do is when the user
clicks register, all the trasaction will be committed. However, if the user doesn't click the register button, say they close the browser or click some other buttons. Then I want to rollback what was inserted in the first step. How could I do that?
Thank you very much.
Jul 26, 2011 01:20 AM|manishgvsharma2000|LINK
See these links ,hope this will help you
Jul 26, 2011 04:00 AM|asplearning|LINK
Hello manishgvsharma2000, thanks for the link. The second link is very similar to my requirement. It was mentioned as follow:
The table could have a column for the user's SessionID, so you can know what records belong to what users. Once the users has completed the wizard steps, you can retrieve all of the data and commit it to the final table(s).
How do I create and store use's sessionID? Thank you very much.
Jul 26, 2011 04:35 AM|manishgvsharma2000|LINK
see these links for session management
Jul 26, 2011 10:18 PM|asplearning|LINK
Thank you again. :)