Hi All,
Currently I am working on a web application on BEA Weblogic10.3.4 and ejb3.0. I need to send a pop up warning after 20 min if inactive and then invalidate the session after 30th min if continue to be inactive.
I would need some guidance here. I have a set of ideas.
1. Pick up the interceptor concept ,
2. start
ejb timer for each session call ,
3. and if time reaches 20 min being inactive ,fire an event which
JSP is listening to,
4. and alert the user with a pop.
5. If still no response comes for next 10 min, invalidate the session.
6. If response comes, reset the timer.
Well this is a complex way of achieving the goal. It would be kindful , if someone can come with something much simpler.
Regards,
Aditya