• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic