I was wondering if it is possible to stick a session to a server using session variables (such as username) Currently I am using cookies to keep the session sticky but i also need to use the session variables.
the session variable are dependent on your application.
The loadbalancer only knows HTTP.
So, how does your session variable translates into HTTP data ?
Is it info inside the url ?
Is it a value in the HTTP header ?
If this is inside the HTTP body, the loadbalancer will not see it.
If you are already using a cookie to do stickyness, I think it should be enough.