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 23, 2005Historic F5 Account
Here is an example ...
set cookie [format "%s=%s; path=/; domain=%s" $ckname $ckvalue $domain]
HTTP::respond 301 "Set-Cookie" $cookie
The HTTP respond command is more general and lets you specify the http headers or even content to be sent as a response. Hopefully this will do the trick.
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
