Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

cookie insert in the CSM module

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

Re: cookie insert in the CSM module

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

3 REPLIES

Re: cookie insert in the CSM module

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

Community Member

Re: cookie insert in the CSM module

Thank you ! It helped :)

Regards

Lukas

Community Member

Re: cookie insert in the CSM module

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

219
Views
0
Helpful
3
Replies
CreatePlease to create content