Problems with CSS 11503 and Cookie Configuration

Unanswered Question
Jan 19th, 2009
User Badges:

I have the next scenario:

Two servers WAS01 (IP and WAS02 (IP, each one with this cookies:



I need to stuck the clients request based on cookies but the cookie is not fixed, so I need make the sticky based only in the prefix because everything after the "=" sign expires after 10 seconds.

I dont know what to do cause and aditional requirement is that the client need to be sticky as long as the cookie remains active ( 10 secs ).

Thanks a lot for all the help that can bring me.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Gilles Dufour Tue, 01/20/2009 - 01:02
User Badges:
  • Cisco Employee,


if these are the only 2 cookie names that will exist, you could use a class-map type http loadbalance like this :

switch/Admin(config-cmap-http-lb)# match http header Cookie header-value ?

Enter http header value (Max Size - 255)

switch/Admin(config-cmap-http-lb)# match http header Cookie header-value .*ASPSESSIONIDQQCBRBTD.*

But if the prefix does change as well, then why not use the cookie insert function from ACE.

ACE can insert its own cookie to guarantee stickyness.


frandeprado Tue, 01/20/2009 - 04:46
User Badges:


Thanks a lot for your help, the prefix will be ever the same for a server (and different between then), i am going to probe the sticky in the http header as you recommended me, but i still got 2 questions.

I need that when a client make a request against a server, stuck in there but if that server is going down stuck to another, is that possible?

other question is

The CSS can insert their own cookies?? i am totally ignorant :)

Thanks A lot


Gilles Dufour Tue, 01/20/2009 - 05:37
User Badges:
  • Cisco Employee,


for some reason I thought it was ACE not CSS.

ACE can't learn dynamic cookie.

So, simply ignore my recommendation.

I would suggest to use CSS function to insert its own cookie.

Just configure 'advanced-balance arrowpoint-cookie' and 'url "/*"' in your content rule config.

Stickyness will work.


frandeprado Tue, 01/20/2009 - 05:49
User Badges:


I already probed:

1.- in the content rule the advanced-balance Cookie and nothing, there is no match in sticky table and use the balance round robin (default), the client accepts cookies I checked that first.

2.- i put in the content rule the command string prefix $Version=0; ASPSESSIONIDQ and in the services the rest of the prefix but nothing.

3.- i use the string range in the content rule to match "ASPSESSIONID" and nothing.

the real thing is i have no idea of what to do


Gilles Dufour Tue, 01/20/2009 - 08:44
User Badges:
  • Cisco Employee,


see my previous post.

The CAN'T LEARN dynamic cookie.

So just go for cookie created by the CSS with the arrowpoint-cookie advanced-balance method.



This Discussion