3d93f2cf56ad9b9562ceeb3ffda75715b113de4f
Previously, if the following happened: * New Session Created * Exception thrown * Exception processed by error handler within Servlet * Error Handler used a session The result would be two sessions were created. This means the data from the first session was also lost. This happend because ERROR dispatch is a separate Filter invocation where the request is no longer wrapped. This commit ensures that currentSession is saved on a HttpServletRequest attribute so that the ERROR dispatch sees that a session was already created. Fixes: gh-229
= Spring Session Rob Winch Spring Session aims to provide a common infrastructure for managing sessions. This provides many benefits including: * Accessing a session from any environment (i.e. web, messaging infrastructure, etc) * In a web environment ** Support for clustering in a vendor neutral way ** Pluggable strategy for determining the session id ** Easily keep the HttpSession alive when a WebSocket is active = Spring Session Project Site You can find the documentation, issue management, support, samples, and guides for using Spring Session at http://projects.spring.io/spring-session/ = License Spring Session is Open Source software released under the http://www.apache.org/licenses/LICENSE-2.0.html[Apache 2.0 license].
Description
Languages
Java
93.7%
Groovy
3%
HTML
2.2%
JavaScript
0.7%
Ruby
0.4%