Cookie in OperationContext
How to access Cookie in OpreationContext at services side, I dedug RequestContext and all Properties but did not find place to get this ( I am making REST call)
Regards
Jitesh
How to access Cookie in OpreationContext at services side, I dedug RequestContext and all Properties but did not find place to get this ( I am making REST call)
Regards
Jitesh
Could you try something like:
HttpRequestMessageProperty request = (HttpRequestMessageProperty)OperationContext.Current.IncomingMessageProperties[HttpRequestMessageProperty.Name];
Then get:
httpResponse.Headers[HttpRequestHeader.Cookie]
that doesn;t work - see http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2040139&SiteID=1