AJ
public text v1 · immutable[WebMethod]
public string HelloWorld()
{
// Access a cookie passed in on the request
HttpCookie myCookie = Context.Request.Cookies.Get("MyCookie");
// Add a new cookie to be sent back in the response
Context.Response.Cookies.Add(new HttpCookie("NewCookie","value"));
return "Hello World";
}