cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
480
Views
0
Helpful
3
Replies

cookie insert in the CSM module

lukaszkhalil
Level 1
Level 1

Hello

I would like to ask if anbody know why when I use the "cookie insert" option in the CSM configuration with the timeout of 60 minutes, from the browser point of view the cookie expires in 2010? I have checked in on the CSM and CSM-S and in both of them it works the same way.

Thanks in advance

Regards

Lukas

1 Accepted Solution

Accepted Solutions

Its because of the variable (COOKIE_INSERT_EXPIRATION_DATE) that sets the expiry date to Jan 2010. Use "show mod csm X

variable" to see it.

xyz#sh mod csm 3 var | include EXPIRATION

COOKIE_INSERT_EXPIRATION_DATE Fri, 1 Jan 2010 01:01:50 GMT

Setting this variable to none makes it a session cookie ( expire at

the end of the session -- cookie will be erased when the browser is closed).

(config-module-csm)#variable COOKIE_INSERT_EXPIRATION_DATE ""

With "cookie insert feature" on the CSM ,

the timeout value configured in the sticky has no affect. You will always see a timeout of zero.

Syed Iftekhar Ahmed

View solution in original post

3 Replies 3

Its because of the variable (COOKIE_INSERT_EXPIRATION_DATE) that sets the expiry date to Jan 2010. Use "show mod csm X

variable" to see it.

xyz#sh mod csm 3 var | include EXPIRATION

COOKIE_INSERT_EXPIRATION_DATE Fri, 1 Jan 2010 01:01:50 GMT

Setting this variable to none makes it a session cookie ( expire at

the end of the session -- cookie will be erased when the browser is closed).

(config-module-csm)#variable COOKIE_INSERT_EXPIRATION_DATE ""

With "cookie insert feature" on the CSM ,

the timeout value configured in the sticky has no affect. You will always see a timeout of zero.

Syed Iftekhar Ahmed

Thank you ! It helped :)

Regards

Lukas

Hi

Do you know hy the Internet Explorer 7.0 has problems with cookie inserted by the CSM with expiration date set to session lifetime ?

It seems that the browser is loosing the cookie when the website is being browsed.

Thanks in advance for the answer

Regars

Lukas