cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2072
Views
0
Helpful
4
Replies

ACE Cookie Persistence

kris-andrews
Level 1
Level 1

Hi All,

I have an issue on the ACE that is doing SSL offload to a server farm and using cookies for stickyness.

The issue is I am trying to establish what value i need to enter when trying to dynamically learn cookies in the server response?

I understand that cookie insertion is an option but is not currently being used.

I have checked the syntax

sticky http-cookie

name1 name2

Where name1 is the value that needs to be matched, how do i find out this value?

Your help would be much appreciated.

Kris

4 Replies 4

litrenta
Level 3
Level 3

You need to find out from the application developer what the name of the cookie

is. The server responds with a set-cookie header with name

=value . We need to find out from the server what cookie name we want to stick on.

Thanks litrenta,

So on further investigation i have been told the value to match is sessionid, apparently there are different values depending on the application. So in this instance if the application is microsoft is there a certain sessionid value to be matched?

I'm still a little confused as to what needs to be entered, this isn't something that i have come accross before.

Kris

Kris,

that a sniffer trace of the traffic going to the server.

Then check the server response for a line which looks like : set-cookie:  name=value.

This means the server will always use the cookie "name" and a different "Value" for each client.

So you configure ACE to look for hte "name" and it will learn the "value" automatically.

If you really do not understand http cookies, you could simply use the "sticky cookie insert" feature.

ACE will do everything for you automatically.

Gilles.

..or you could use

http-fox with firefox - this will show you the cookies being served out.

you may also have to use parameter-map type [eg] http MAP_NAME

case-insensitive

but over all life is simpler using the cookie insert feature

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: