Forum Discussion
Claudio_Soares
Aug 20, 2020Nimbostratus
iRule persist cookie - Session Cookie
Hello all,
I'm kind of newbie here, and I'm trying to change the default persistence cookie through an iRule.
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::host]] {
"some_url" {
...
pool /server_pool_1
persist cookie insert newcookie 0
return
}
}
Is this the best way to make it Session Cookie?
Thanks for all your help.
Regards,
Claudio Soares
Hello Claudio.
Yes, It's totally valid (see 7th example).
https://clouddocs.f5.com/api/irules/persist.html
Regads,
Dario.
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