Search code examples
javasessiongwtrpcgwt-rpc

Trigger the method call when the session timeout in gwt


I would like to detect the session timeout and trigger the method call in server side of the GWT. Is it possible? My idea is that when the session is timeout in server side, I would like to do some data operation in database by server side program. Thanks.


Solution

  • Assuming you're using servlets, have a look at HttpSessionListener