"cookie secondary" problem

Unanswered Question
Sep 14th, 2009
User Badges:


our customer would like using http cookie stickiness and Ace module would learn cookie from url web page.

For expample during this get http request:'xxxx,'xxxx','xxxx')&PSONWEBID=172017242064START20090914143000

ace must be use "172017242064START20090914143000" such as cookie.

So I Configured this sticky serverfarm:

sticky http-cookie &PSONWEBID ONWEB-STICKY-CRM

cookie offset 0 length 32

cookie secondary &PSONWEBID

timeout 30

replicate sticky

serverfarm ONWEB-SFARM-2


I leave out Layer 3 and Layer 4 SLB beacuse I haven't problem with it.

Questions are:

1. why "show sticky database group ONWEB-STICKY-CRM" is empty?

2. stickiness doesn't work: i try to send two request with same url and ace balance on two different server.

3. what's mean "You can configure an alternative cookie name that appears in the URL string of the web page on the server." rif cisco documentation ? I'm confusing alternative concept.



  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ciscocsoc Thu, 09/17/2009 - 04:01
User Badges:
  • Silver, 250 points or more

Hi Arduino,

In your http-cookie definition don't use the & prefix. The "&" isn't part of the cookie name but part of the glue that holds the HTTP request/response together. In this case I don't think you need a secondary cookie.

Check the example at http://docwiki.cisco.com/wiki/Session_Persistence_Using_Cookie_Learning_on_the_Cisco_Application_Control_Engine_Configuration_Example


Kind Regards



This Discussion