Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

HAProxy 1.7.5 cookie JSESSIONID prefix not working (6 replies)

$
0
0
With HAProxy 1.5.18, on a RHEL 7.1 server,

appsession JSESSIONID len 52 timeout 3h

results in a cookie that looks like this:

JSESSIONID=51CCXXXXXXXX2775.i-07035eca525e56235; path=/le5; domain=vr..ras.dshs.state.tx.us; Secure; HttpOnly

With HAProxy 1.7.5, on a CentOS 7 server,
since apsession is no longer available,
I tried all the following options in haproxy,cfg instead:

cookie JSESSIONID prefix

cookie JSESSIONID prefix nocache

cookie JSESSIONID rewrite

The cookie always looks like this:

JSESSIONID=58FFXXXXXXXX1FB6; path=/le5; domain=cadca-vr.irondatacorp.com; Secure; HttpOnly

The server's identifier is not added to the cookie.
Needless to say, my load balancing doesn't work.

Norman

Norman Branitsky
Cloud Architect
MicroPact
(o) 416.916.1752
(c) 416.843.0670
(t) 1-888-232-0224 x61752
www.micropact.comhttp://www.micropact.com/
Think it > Track it > Done

Viewing all articles
Browse latest Browse all 5112

Trending Articles