"cookie secondary" problem

Unanswered Question
Sep 14th, 2009

Hi,

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:

http://172.16.211.69:85/UNIX_PS/?ONWEB_InfoRule=UNIX_PS.U_LISTA_AUTORIZZAZIONI('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.


Regards.

Arduino

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
ciscocsoc Thu, 09/17/2009 - 04:01

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


HTH


Kind Regards


Cathy

Actions

This Discussion