This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have used session con-fig element in web.xml to configure session expiration.
I have set the session timeout to 10 minutes.
But in my application, after user successful login , user performing data entry operation for more then 10 minutes. Because it takes time
to type the all the values during entry process.
He is continuously working on client side but for about 10 minutes no request is sent to server. so after 10 minutes when the user submit
the data it say session expired.
so i need to make session to be expired only when the user haven't performed any actions on the client side.
You can use auto save mechanism, to save partial data until the user has not submitted his/her form. This will make a request from client to server for auto save and the session will not timed out and when the user clicks on submit the form is fully saved.
Joined: Sep 01, 2011
can you provide me the sample. i have not used the auto save mechanism. if you provide it would be knowledge update for me.
Joined: Jul 31, 2011