Forum Discussion
James_78615
Nimbostratus
Apr 21, 2009Cookie persistence for certain host headers
Hi,
I have the requirement to enable cookie persistence when a user hits a particular subdomain for a site.
For example, insert a cookie and use cookie persistence for a...
The_Bhattman
Nimbostratus
Apr 22, 2009Hi James,
Since you are associating a profile persistence cookie to the vip resource then you could get a way with simply doing the following:
when HTTP_REQUEST {
if { not ([string tolower [HTTP::host]] equals "abc.site.com") } {
persist none
}
}
hope this helps
CB
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
