Forum Discussion
Jason_Hook_4092
Nimbostratus
Jan 20, 2010v10 cookie insert problem
I have a very simple problem.
I have some logic that checks for the existence of a cookie and if it's missing, add one with a value.
When I add the cookie however, I get a comma then...
hoolio
Cirrostratus
Jan 20, 2010Multiple cookie headers are valid in an HTTP request and you can have multiple Set-Cookie headers in a response.
So is the corruption of the cookie values due to incorrect parsing of the two Cookie headers by something after LTM?
If so, and that can't be fixed, you could try manually setting the cookie in the request by modifying the Cookie header with the HTTP::header replace command. But it begs the question of what happens if a client or intermediate proxy has more than one Cookie header in a request.
Aaron