Yozzer
Dec 18, 2014Nimbostratus
Cookies
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...
You 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