以前Insus.NET有在博客上有写过一篇《http://www.cnblogs.com/insus/archive/2011/05/25/2055531.html

昨天Insus.NET有在命名用这方法的专项中,进行改写与优化。

把Cookie类抽出并独立起来。

实现Cookie集合

 

 private static HttpResponse Response
        {
            get
            {
                return HttpContext.Current.Response;
            }
        }

        private static HttpRequest Request
        {
            get
            {
                return HttpContext.Current.Request;
            }
        }
Source Code

相关文章:

  • 2021-09-26
  • 2022-02-16
  • 2021-12-28
  • 2021-10-07
  • 2021-12-10
  • 2021-07-28
  • 2022-02-20
猜你喜欢
  • 2022-12-23
  • 2021-07-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案