Cookie Insert-Based Persistence

Unanswered Question
Mar 26th, 2007


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?)



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Syed Iftekhar Ahmed Tue, 03/27/2007 - 02:36

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 tcp www

serverfarm APP1-SF

sticky 30 group 19

replicate csrp sticky

replicate csrp connection

persistent rebalance


Syed Iftekhar Ahmed


This Discussion