Forum Discussion
Aaron_Magruder_
Nimbostratus
Feb 22, 2005Insert Cookie for a different domain
Is it possible to insert a cookie for domain xyz.domain.com when a customer visits abc.domain.com, then redirect them to xyz.domain.com?
When the customer gets redirected, I would like...
Aaron_Magruder_
Nimbostratus
Feb 22, 2005No I don't see the cookie being sent back. It doesn't appear that my syntax is correct or that the BigIP won't send a cookie for a different domain.
To give more detail on our issue:
We have two 3DNS controllers and two pairs of BigIP's in two datacenters. We need to persist customers to one datacenter. Our TTL's on the wide IP's are 30 seconds to provide fast failover in the event of a datacenter failure. We use LDNS persistence on the 3dns. This works great except for the ISP who load balancer their dns servers. Each ldns server may get a persisted to a different datacenter. When the user queries their ldns, they are getting different answers and getting forwarded to different datacenters.
We would like the user to go to aac.domain.com, get a cookie for aac1.domain.com or aac2.domain.com, depending on what datacenter they are in. Once they get the cookie, they will be redirected to either aac1 or aac2, depending on what datacenter they are in. When the contact aac1 or aac2.domain.com, the BigIP will check to see if a cookie is present. If not, they will be redirected to aac.domain.com.
This is an attempt to keep customers from book marking aac1 or aac2.domain.com. If they bookmark on a datacenter, load balancing is diminished or that datacenter may not be available.
Any idea if the BigIP will allow you to inject a cookie for a domain that you are not currently visiting?
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
