I have a Spring application with a standard cookie-based Spring authentication. I can control the session timeout on a Tomcat locally using session-timeout
property in my project's web.xml
. So for instance, if session-timeout
is set to 1
, I see that the session expires after one minute.
However, when the application is deployed to AWS Elastic Beanstalk (standard war file), it looks like session-timeout
in project's web.xml
file has no effect. I am running load-balanced AWS environment.
Am I missing something obvious? How do I control session expiration on AWS Elastic Beanstalk?