GWT Application in Tomcat with endless sessions -


i have gwt application running in tomcat 6. problem scenario following:

  • people using application , example user b clicks through application.
  • now restart of application
  • if not open start page of gwt application, whole web app going crash user b continues working in application.

for sufficient if can set session timeout, means user being redirected start page after 30min (if not in application). restart happening @ 0300 maintenance reasons.

therefore wondering, if can set session timeouts in tomcat gwt applications? in web.xml timeout set 30min think not working gwt application.

the gwt part of application client side, doesn't control sessions. behavior want (of timing out after 30 minutes of inactivity) create servlet filter on every request looks @ last request time in session, if has expired creates new unauthenticated session, if not expired updates session next timeout (or time+30 minutes). in servlet code check authenticated session , if isn't valid redirect login page.


Comments

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -