0

When httpsession times out, is there a way to log something like "Httpsession with JessionId :'blabla' time out"?

Jinxin Ni
  • 331
  • 3
  • 10

1 Answers1

0

This is possible using HttpSessionBindingListener. An answer similar to what you need was posted here

Basically you can add your log by overriding the valueUnbound method.

Community
  • 1
  • 1
Luke Bajada
  • 1,737
  • 14
  • 17