标题翻译
Spring Session JDBC - How to catch when the session is destroyed?
问题
由于Spring Session JDBC实现不支持发布会话事件,那么如何在会话销毁时进行捕获呢?当用户会话结束时,我需要执行一些附加逻辑,但我找不到其他的解决方法。在Spring Session文档中没有提供其他解决方案。
英文翻译
Since Spring Session JDBC implementation does not support publishing of session events, how can I catch when the session is destroyed? I need to perform some additional logic when user's session has ended, but I couldn't find any other workaround. In the Spring Session docs there isn't any other solution presented.
专注分享java语言的经验与见解,让所有开发者获益!
评论