Forum Discussion

Kevin_Davies_40's avatar
Sep 19, 2017

Multiple Cookies/Sessions same endpoint

I have a rather unique issue. To access a backend service they come into the VS on a special URL eg. /sendto?mydept=24&myplace=23. I then issue them with an encrypted cookie, lets call it "dst" for e...
  • Kevin_Davies_40's avatar
    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.