java - Spring not restoring tomcat persistent sessions to session registry after restart? -


I am using Tomcat 6.2 and Spring MVC 2.5. I have seen that, when a user is logged in I can restart Tomcat and the user can continue to browse without authentication again. It appears that Tomcat has to come with the ability to continue the restart sessions.

It appears, however, that these consecutive session spring sessions do not return to the registry. Before retrieving, I get back information when retrieving the user's session information from the session registry. Restart, though there is no information on the user in the sesssion registry.

Am I missing some configuration that will allow you to restore these created tomcat sessions after restarting the Spring? By not accepting this, there is no way to kick off a web application without calling a user session. information. Axam now ()?

Try this configuration:

  & lt; Bean id = "Filter Invocation Interceptor" class = "org.acegisecurity.intercept.web.FilterSecurityInterceptor" & gt; ... & lt; Property Name = "Revert Always" value = "True" /> & Lt; / Bean & gt;  

Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -