Forum Discussion
DaveC_53879
Aug 09, 2011Nimbostratus
Persistence with and without www in URL
Is there a way to be persistent when URLs sometime but not always include www? Customers sometimes update contents, and sometimes they use static paths that may or may not contain www in the URL, but...
DaveC_53879
Aug 16, 2011Nimbostratus
This part of the rule isn't doing anything because it's not logging. Do I need to define My_cookie somewhere?
Check if the persistence cookie exists in the response
if {[HTTP::cookie exists "My_cookie"]} {
set the domain attribute on the persistence cookie
HTTP::cookie domain "My_cookie" ".ddcpoc.com"
log local0. "[IP::client_addr]:[TCP::client_port]: Modified domain on My_cookie"
}
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