Forum Discussion
Dave_Gerke_2110
Nimbostratus
Oct 29, 2007Cookie Irule Help
IE is blocking cookies for a url because the host name the client comes in on is different than the host name inside the cookie. Client connects on www.xyz.com and a cookie is sent with a host name in...
hoolio
Cirrostratus
Oct 29, 2007Hi,
A cookie in the HTTP request doesn't have a domain, so you'd only need to modify the domain in responses. You can get or set the domain on a cookie in the response using "HTTP::cookie domain [domain]" (Click here).
Here is an example:
when HTTP_RESPONSE {
check if the cookie is being set
if {[HTTP::cookie exists "some_cookie"}{
set the domain of the cookie to domain_to_set
HTTP::cookie domain some_cookie domain_to_set
}
}
Can you give this a shot?
Aaron
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