每次去写太麻烦,写一个样本,下次对照就好了

            context.Response.Write
("{\"UserName\":\""+HttpContext.Current.User.Identity.Name+"\","+"\"SessionID\":\""+context.Request.Cookies["ASP.NET_SessionId"].Value+"\"}");//输出模拟json对象

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-23
  • 2022-02-10
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2021-11-17
  • 2021-11-20
  • 2021-06-09
  • 2021-12-03
相关资源
相似解决方案