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

[238 byte] By [Jitesh] at [2008-1-8]
# 1

Could you try something like:

HttpRequestMessageProperty request = (HttpRequestMessageProperty)OperationContext.Current.IncomingMessageProperties[HttpRequestMessageProperty.Name];

Then get:
httpResponse.Headers[HttpRequestHeader.Cookie]

James.Zhang-MSFT at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...
# 3

Thanks James it did work ...
Jitesh at 2007-10-2 > top of Msdn Tech,Visual Studio Orcas,Windows Communication Foundation (Indigo)...

Visual Studio Orcas

Site Classified