This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
Is it somehow possible to determine when a particular user's session was timed out by the app server ?
Is it possible to maybe write a System.out.println() or a logger statement, saying that the "HttpSession of XYZ user timed out at DDMMYY HH:MI:SS", just before the session gets destroyed?

I am aware that the newer specifications for
servlets do offer certain classes like HTTPSessionListner and HTTPSessionAttributeListner.. but my application is on specification 2.1 of servlets, which doesn't have these classes.

Any ideas people ?

Best Regards,
Posts: 3
Posts: 17314
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Y bear"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it


Thanks! and welcome to the JavaRanch!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!