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...
bl0ndie_127134
Feb 22, 2005Historic F5 Account
Are you seeing the Set-Cookie being sent back as a response on the wire? I suspect that your user agent might be rejecting the cookies because the host name of the Set-Cookie is different that the current host name. In another words, I don't think you are allowed to do a Set-Cookie abc.domain.com from 123.domain.com.
Its hard to tell what you are trying to do exactly, but would it be possible to put information about the domains that you visited inside the cookies instead of playing games with the domain values? If so, you should set the domain to ".domain.com.". Hope that helps.
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
