Forum Discussion
Yozzer
Nimbostratus
Dec 17, 2014Cookies
Hi
Im having an issue with Cookies not being accepted at the server unless they are within the same Cookie header:
Cookie: blah=blah; blahs=blahs;
If there are two Cookie headers then...
Michael_Jenkins
Cirrostratus
Dec 17, 2014You could grab the header value when it comes in and then append your additional cookie and remove the header then readd it. Something like this...
set cookie [HTTP::header value "Cookie"]
HTTP::header remove "Cookie"
append cookie "; name=value"
HTTP::insert name Cookie value $cookie
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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