This content has been marked as final.
Show 2 replies
-
1. Re: Sticky sessions and Set-Cookie HTTPOnly header
rhusar Apr 3, 2014 6:14 AM (in response to marcodanti)I cannot reproduce the issue with HttpOnly cookies, it all works fine.
My hunch is the misunderstanding of the secure cookie attribute. This means, that the client will send this cookie only via HTTPS. Since you are adding this to all cookies and the stickiness information is part of the session ID cookie, it will not be sent if you are testing over HTTP. A new session will be created every time, since you won't present your existing cookie. Try with "Header set Set-Cookie HttpOnly" instead or using HTTPS.
-
2. Re: Sticky sessions and Set-Cookie HTTPOnly header
marcodanti Apr 3, 2014 4:11 AM (in response to rhusar)Silly me, that was exactly my problem. Thanks a lot!