Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session Time out

 
vijaykumar Mummana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

We have an application with struts frame work.In which we have used JSP, EJB's and the application session out we have kept it as 30 mins.

We got a requirement like below :

For Example the student was filling an college form which contains some 5 JSP'S to fill the details and the student has filled 3JSP's and he was doing some other work and when he come backs after 45 mins to enter the details the session got expired. The requirement was after 25mins it should pop up a message in the screen "the application session is going to expire in 5 min" (as a remainder).

Can you guys please give me some ideas to do this.

Thanks a lot in advance.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use JavaScript to pop-up an alert when the user is on a page for 25 minutes. However, the user will not see it if the user is not in the browser. You could also use AJAX to save periodically.
 
vijaykumar Mummana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot i Wil try n if i need i will post again.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic