Forum Discussion
anbeek
13 years agoOccasional Contributor
As far as got it now, a httpRequest header can only contain one 'Cookie'
That should mean that I have to concatenate my 2 cookies.
But not sure how to do that since it seems like a cookie contains more than a key-value pair.
Looking at my cookies they are returned as:
Header Value
Set-Cookie THESESSIONID=61DR5GG123; Path=/;Secure
Set-Cookie xid=c345bng84664856f; Domain=myhome.com; Expires=Fri, 29-Mar-2013 12:18:09 GMT; Path=/
If it was just the key-value of the cookies that were merge togther, the Cookie header would be easy to do.
Or is it just the key-values that should be sent to server in next request? (THESESSIONID=61DR5GG123 + xid=c345bng84664856f)
Any cookie expert who knows?
Regards
/Anders
That should mean that I have to concatenate my 2 cookies.
But not sure how to do that since it seems like a cookie contains more than a key-value pair.
Looking at my cookies they are returned as:
Header Value
Set-Cookie THESESSIONID=61DR5GG123; Path=/;Secure
Set-Cookie xid=c345bng84664856f; Domain=myhome.com; Expires=Fri, 29-Mar-2013 12:18:09 GMT; Path=/
If it was just the key-value of the cookies that were merge togther, the Cookie header would be easy to do.
Or is it just the key-values that should be sent to server in next request? (THESESSIONID=61DR5GG123 + xid=c345bng84664856f)
Any cookie expert who knows?
Regards
/Anders