Hello Norman,

Am 31.05.2017 um 00:13 schrieb Norman Branitsky:
>
> You are correct.
>
> I was setting the jvmRoute parameter to be the server id (AWS EC2
> InstanceID) in my regular apps served by HAPRoxy 1.5.18.
>
> The HAProxy 1.7.5 testing is using a different app that obviously
> doesn't have the jvmRoute defined.
>
> Should I continue with adding “cookie /id/” to the server statement in
> conjunction with
>
> cookie JSESSIONID prefix nocache
>
> Or, should I follow Lukas' suggestion and insert my own HAPROXYID
> cookie like this:
>
> cookie HAPROXYID insert nocache
>
>  
>

Personally I dislike messing with application cookies on the proxy.
It just feels wrong, unclean and frankly unnecessary.

Using a dedicated cookie seems like the right thing to do, at least in
my opinion.

I don't think there are strong technical arguments for either one of
those configurations, this is just my personal distaste for messing with
application data.



Regards,
Lukas


Reply via email to