Forum Discussion
Raymond_Feng_97
May 03, 2009Historic F5 Account
how to insert cookie with one day expire time
Hi, all
one simple question, how to insert cookie with one day expire time in iRules?
By default, LTM irule insert cookie HTTP:cookie is just session cookie, how to insert cookie with special expire time?
Best Rgds,
Raymond
1 Reply
- L4L7_53191
Nimbostratus
There is some information on how to expire here:
http://devcentral.f5.com/wiki/default.aspx/iRules/HTTP__cookie.html
To set the expiration, create the cookie first, then use the expires command to set your timer. There's an example of this on code share here:
http://devcentral.f5.com/Wiki/default.aspx/iRules/Manual_cookie_persistence.html
HTH,
-Matt
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects