Reputation: 1289
I am using an AWS Application Load Balancer
. I have set the session cookie stickiness
to 10 minutes, however, when I check it from the browser, the Expires/Max age value is the November 2071.
What I am doing wrong in the stickiness configuration?
Upvotes: 1
Views: 1098
Reputation: 200466
10 minutes is how long the load balancer will ensure that all your request go to a single target server. It is not how long the load balancer will track your session. The load balancer doesn't rely on cookie expiration in order to end the 10 minute "stickiness" period, it's using something internal to the load balancer to do that. The cookie just gives your browser a unique ID that the load balancer can use to identify you for its internal tracking needs.
Upvotes: 4