configure cookis insert

Answered Question
Apr 3rd, 2007
User Badges:

Could anyone advice me how do:

- "configure to use active cookie persistence (cookie insert)"

- "configure to insert the cookis "xxx" into header"



my current configure is

service server1

ip address 10.1.1.10

protocol tcp

port 80

keepalive type tcp

keepalive port 80

active


service server2

ip address 10.1.1.20

protocol tcp

port 80

keepalive type tcp

keepalive port 80

active


content service

vip address 10.2.2.211

port 80

protocol tcp

add service server1

add service server2

balance leastconn

active


Any comments will be appreciated


Thanks in advance



Correct Answer by Gilles Dufour about 9 years 11 months ago

yes, that is enough to have persistence based on cookie

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Gilles Dufour Tue, 04/03/2007 - 04:17
User Badges:
  • Cisco Employee,

All you need is to add this to your content-rule


url "/*"

advanced-balance arrowpoint-cookie

arrowpoint-cookie name xxx


Some research on those commands will give you more info.


Gilles.



julxu Tue, 04/10/2007 - 15:56
User Badges:

Thanks Gilles,


the actually the header I need insert is:

WL-Proxy-SSL: true


the arrowpoint-cookie name can not insert this.


Do I have to add something?

Gilles Dufour Tue, 04/10/2007 - 23:23
User Badges:
  • Cisco Employee,

this is not a cookie that you are trying to insert but a fixed header line.

This can be done for ssl traffic decrypted by the CSS [therefore you need the ssl module].


Here is a link to the command that you need :


http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_guide_chapter09186a0080579f6b.html#wp1009981


Again this function is only available to SSL traffic when terminating the ssl connection on the SSL module.


Gilles.

julxu Wed, 04/11/2007 - 00:11
User Badges:

Thanks to clear this.


at this time, I have been only asked to setup http, no https, so, I will not insert this header.


However, is the rest configuration enough to setup the cookie persistence?


url "/*"

advanced-balance arrowpoint-cookie



Please advice



Correct Answer
Gilles Dufour Wed, 04/11/2007 - 00:29
User Badges:
  • Cisco Employee,

yes, that is enough to have persistence based on cookie

Actions

This Discussion