c# webservice ajax跨域 session使用配置

  1. 后台方法添加 EnableSession = true
  2. Web.config添加
  3. ajax添加xhrFields: {withCredentials: true}

你可能感兴趣的:(c# webservice ajax跨域 session使用配置)