• Post Reply Bookmark Topic Watch Topic
  • New Topic

session inactive warning and after some time session invalidation:ejb3.0  RSS feed

 
Aditya Narayan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Aditya Narayan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
After working through all this, I am stuck to a point where I learn that jsp cannot be explicitly made as a listener. Would appreciate some help.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!