【Asp.Net从零开始】:从Request中获取Cookies

HttpCookiesCollection cc = Request.Cookies;
string[] arr = cc.AllKeys();
int index = 0;
HttpCookie  myCookie;
 myCookie = cc[arr[index]];

  

原文地址:https://www.cnblogs.com/VortexPiggy/p/2631275.html