Set specific domain for ALB stickiness cookie

0

I need to set the domain attribute for the ALB stickiness cookie so that session stickiness behaves the same across two subdomains. For example, for the domains foo.example.com and bar.example.com, I'd want the stickiness cookies to have domain=.example.com. However, I don't see any way to configure that for load-balancer-generated cookies. I also tried using an application cookie that has its domain set in the hope that the ALB would propagate the domain to the AWSALBAPP-* cookies, but that doesn't work either.

gefragt vor 6 Monaten63 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen