Forum Discussion
Multiple Cookies/Sessions same endpoint
- Sep 19, 2017
Solved.
Session cookies are automatically bound to the site from which they came. I can have 10 cookies of the same name each from a different site and the browser will present the right cookie depending on the site I am going to access. To solve my problem above will use different site names for each session from the same user.
mysite.virtualserver.com A X.X.X.X mysite1 CNAME mysite mysite2 CNAME mysite mysite3 CNAME mysite mysite4 CNAME mysite mysite5 CNAME mysite
Where X.X.X.X is address of the virtual server handling 100 web management interfaces behind it using the iRule outlined above to route traffic. The above supports 6 concurrent sessions from the same end user.
Hmmmm... how about if I have multiple server names which resolve to the same destination that may be enough of a discriminator. Eg mysite1/2/3/4/5.dns.name -> same virtual server IP address. That way I can align the cookie name with the fqdn name, for example "dst-mysite1", so the iRule can determine which cookie it should be decoding from the incoming host header of the session.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com