Retain sessions in WildFly 8
January 15, 2015
Add the persistent-sessions
element to your WildFly configuration to keep sessions persistent across redeployments and restarts:
<servlet-container name="default">
<jsp-config/>
<persistent-sessions />
<websockets/>
</servlet-container>
See https://docs.jboss.org/author/display/WFLY8/Undertow+(web)+subsystem+configuration for more information.