cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
559
Views
3
Helpful
1
Replies

Cookie based Load Balancing

drakewhite
Level 1
Level 1

If 3 Real servers in a non-load balancing environmet are setting session cookies with diffrenet cookie names e.g.

server1 response

set-Cookie: SESSIDSAAAAAA=DMNNNELCECNCKDIIDCPOIMGG

Server2 response

set-Cookie: SESSIDSBBBBBB=DAAMMNELCECNCKPYTWPOIPOP

Server3 response

set-Cookie: SESSIDSCCCCCC=POHYTUOIPOPPLKJHTERIQOKJ

then how can CSM be configured with cookie based stickiness.

I tried cookie insert on CSM with NULL value Assigned to "COOKIE_INSERT_EXPIRATION_DATE".

It resulted in two set cookie responses (one from server and one from CSM).

I am wondering how csm will react ( cookie insert is used) if client request carries two cookie name-value pairs.

clients are behind megaproxy so cookie based stickiness is needed.

Thanks

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

if you look into a http client request you will see that many times there are more than 1 cookies.

The most important is to make sure the CSM insert a cookie with a different name.

Create your own name.

The client will receive both the csm cookie and the server cookie and will send both when opening a new connection.

The CSM is able to locate its own cookie in the list and do the stickyness.

Gilles.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: