I am building a e-ticketing site for buses . I am facing a problem here : When the user books tickets with seat number,I have updated the database with their seat numbers . Now I want to know what if he closes the window and selects not to book .Should I expire his session after a interval of time
Share
I would keep his choices in the session and commit to database only once he confirms the booking.