Resource operations and cookies

Topics: Web Api
Aug 30, 2011 at 5:58 PM

I'm trying to read and set cookies within an server side operation. Neither HttpRequestMessage nor HttpResponseMessage have any mechanisms to dealing with cookies (other than reading and setting the headers directly which is error prone and I would rather not re-invent that wheel.

I've seen http://wcf.codeplex.com/discussions/248336 but this only talks about client side with HttpClient.

Anyone have any clues?

Cheers,