Yes! It is possible from server side if I remove line 'throw ex' code in the below code. but I was trying to update the cookie on error in webmethod. Something likes this.
try
{
}
catch(Exception ex)
{
HttpContext.Current.Response.Cookies[“ck”].value=”value”;
throw ex;
}
On this scenario it is not updating. Thanks for your quick response.