| Author |
Session Time out
|
vijaykumar Mummana
Greenhorn
Joined: Jun 22, 2011
Posts: 5
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26184
|
|
|
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.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
vijaykumar Mummana
Greenhorn
Joined: Jun 22, 2011
Posts: 5
|
|
|
Thanks a lot i Wil try n if i need i will post again.
|
 |
 |
|
|
subject: Session Time out
|
|
|