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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -