ACE - uri stickiness

Unanswered Question
Jul 24th, 2008


How can I enable stickiness based on a URI with an ebebbed session-id?

Basically what I would like to do is when an hhtp packet with a uri of "" flows through the ACE it will provide stickiness based on the sid=1234556...

Thank you

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Thu, 07/24/2008 - 09:09


The '?' has a special meaning in the URL. It means the end of the main URL and the beginning of the URL query.

Its not possible to match ? in the url.

One option could be using secondary cookie matching in ACE.

class-map type http loadbalance match-any xyz

2 match http cookie secondary sid cookie-value 1234556



rbarroshpcsc Tue, 07/29/2008 - 11:10

Hi Sayed!

Sorry for my late response.

I want to have url cookie learning. I cannot specify the cookie value and in order of that value balance to a specific serverfarm...

Any other ideas?

Thank you

Syed Iftekhar Ahmed Tue, 07/29/2008 - 11:44

If cookie name (sid) will be consistent.

Configuring "cookie secondary " in the sticky group should do.

Try this

sticky http-cookie sid APP1_STICKY_GP

cookie secondary sid

serverfarm APP1-SF



This Discussion