gwt中session超时触发方法调用

Trigger the method call when the session timeout in gwt

我想检测会话超时并触发 GWT 服务器端的方法调用。可能吗? 我的想法是,当服务器端会话超时时,我想通过服务器端程序在数据库中进行一些数据操作。 谢谢。

假设您使用的是 servlet,请查看 HttpSessionListener