joymis Posted November 7, 2017 Share Posted November 7, 2017 (edited) Hello, My web db is oracle, and in my a same page have A form, B form, C form, I used three times ajax send ABC forms to do insert data to db after three times insert data to db, can I commit only one time? thanks. Edited November 7, 2017 by joymis Link to comment Share on other sites More sharing options...
justsomeguy Posted November 7, 2017 Share Posted November 7, 2017 You would send the data for the first two and just save the data in the session instead of inserting or updating the database, and on the third request you get the rest of the data from the session and insert everything. Link to comment Share on other sites More sharing options...
joymis Posted November 8, 2017 Author Share Posted November 8, 2017 8 hours ago, justsomeguy said: You would send the data for the first two and just save the data in the session instead of inserting or updating the database, and on the third request you get the rest of the data from the session and insert everything. Thanks for your reply. I will try this method. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now