cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
396
Views
0
Helpful
2
Replies

Sticky based cookie

irodi
Level 1
Level 1

Hi,

I have a problem with the sticky based cookie. What I did was to take the trace of the packet and to do the sticky based on:

Set-Cookie: mobsess=9D7FEAF2710FA9119F4113836D3C4D07;domain=tim.it;path=/

inresponse from the http server.

In the client packet I can see that the same value is on the string:

GET /%24sessionid%249D7FEAF2710FA9119F4113836D3C4D07/agent/

I configure the sticky based cookie as:

sticky 20 cookie mobsess timeout 59

cookie secondary $sessionid$

and under the virtual:

sticky 59 group 20

but it doesn't function.

Can you help me? I cannot understand what is the problem.

Thanks

Ira

2 Replies 2

Gilles Dufour
Cisco Employee
Cisco Employee

The problem is that the CSM is expecting to see something like cookie=value.

Where is the '=' sign ?

If you control the servers, change the url to introduce an equal sign after sessionid.

Gilles.

Hi Gilles,

And if I cannot control the servers? I can use the cookie insert? I try to d this, but what I see is that all the connections went to the same real server, and I can see just only an entry in the sticky table. Is this possible?

Thankyou

Ira

Review Cisco Networking for a $25 gift card