Friday 22 October 2010

Ways to Add Cookie for WCF

Approaches to add cookie for WCF responses:

1)
Use HttpContext.Current.Response.Cookies.Add

2)
Use the MessageHeader section of MessageContract

3)
Use WebOperationContext.Current.OutgoingResponse.Headers.Add

No comments: