session listener in spring boot configuration does not fire automatically -
i migrated existing spring application spring boot. problem had sessionlistener in web.xml expire user when session has been timeout , migrating boot had configure boot documentations ok before spring boot. after , listener doesn't fire session timeout automatically firing listener must send request same ip fire listener.
and here configuration's files :
application.properties:
server.session.timeout=1800
@configuration public class webapplicationconfiguration extends webmvcconfigureradapter {
@bean public httpsessionlistener httpsessionlistener() { return new sessionlistener(); } //some other configs
}
Comments
Post a Comment