cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
408
Views
0
Helpful
1
Replies

Cookie Insert-Based Persistence

raymondjj
Level 1
Level 1

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 1

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