Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

Cookie Insert-Based Persistence

Hi,

I'm slightly confused by the relationship between the various timers with relation to cookies.

For example, I want to use the "cookie insert" feature to provide persistence, but only across sessions. To do this I think I need to modify the COOKIE_INSERT_EXPIRATION_DATE variable to set it to null.

So far so good.

1) do I need to do anything more (like match cookie) to enable this persistence? or does it happen automatically?

2) if I do this what effect does the timer values have on persistence? (i.e. there is a default timeout of 1440 minutes - does this get ignored?)

thanks,

Ray.

1 REPLY

Re: Cookie Insert-Based Persistence

setting COOKIE_INSERT_EXPIRATION_DATE to null makes "inserted cookie" session based cookie.

You just need to

1. Define a sticky group with insert cookie

sticky 19 cookie APP1-cookie insert timeout 30

(timeout defined here has no significance, CSM will insert cookie "APP1-cookie" in the server responses.Cookie values will be different for all the reals)

2. And Assign it to a VServer/ policy

vserver APP1-VS

virtual 10.10.10.12 tcp www

serverfarm APP1-SF

sticky 30 group 19

replicate csrp sticky

replicate csrp connection

persistent rebalance

inservice

Syed Iftekhar Ahmed

174
Views
0
Helpful
1
Replies
CreatePlease to create content