title: Request.Cookies["cookieName"] is null in web service method
body: <p>This is how I'am saving cookie in my code which is a web service method. I tried to change the cookie expire time but still it is not working for me. Is there any issue with <code>Context.Response</code> to write cookie or <code>Context.Request</code> to read it??</p>
  
  <pre><code>[WebMethod]
  [ScriptMethod(ResponseFormat = ResponseFormat.Json, UseHttpGet = false)]
  public void SaveInDraft(FormRootObject _forms)
  {
      HttpCookie formCookie = new HttpCookie("UserData");
  
      formCookie.Values.Add("formid", _forms.formid);
  
      foreach (var item in _forms.fielddata)
      {
          formCookie.Values.Add(item.id, item.value);
      }
  
      formCookie.Expires = DateTime.Now.AddYears(1);
      Context.Response.Cookies.Add(formCookie);
  
  }
  </code></pre>
  
  <p>for retrieving this cookie on next page </p>
  
  <pre><code>[WebMethod]
  [ScriptMethod(ResponseFormat = ResponseFormat.Json, UseHttpGet = false)]
  public FormRootObject getDataFromCookie()
  {
      FormRootObject form = new FormRootObject();
      List&lt;formFielddata&gt; lstFormFieldData = new List&lt;formFielddata&gt;();
  
      var getCookie=Context.Request.Cookies["UserData"];
      if (getCookie != null)
      {
          if (getCookie.Values.Count &gt; 0)
          {
              foreach (var val in getCookie.Values)
              {
                  formFielddata document = new formFielddata();
  
                  if (val.ToString() != "formid")
                  {
                      document.id = val.ToString();
                      document.value = getCookie[val.ToString()];
                      lstFormFieldData.Add(document);
                  }
                  else {
                      form.formid = getCookie[val.ToString()];
                  }
              }
  
              form.fielddata = lstFormFieldData;
          }
      }
  
      return form;
  }
  </code></pre>
  
  <p>but my object <code>getCookie</code> is always <code>null</code></p>