20-Aug-2020 03:59
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
21-Aug-2020 12:11
Hello Claudio.
Yes, It's totally valid (see 7th example).
https://clouddocs.f5.com/api/irules/persist.html
Regads,
Dario.