I have a generic array list to store what user done(any action in application) . Once user click logout , that object array is saved to db.
The problem is that user can terminate the application by closing browser without click logout. In this case, i have no chance to save object to db.
It's not also possible to connect db to save every time user done something.
Plz advice me how can i handle it ?
...
Go to the complete details ...