自带缓存:System.Web.Caching.Cache
转载:http://www.cnblogs.com/kissdodog/archive/2013/05/07/3064895.html
.net中Application,Session,Cookie,ViewState和Cache区别
http://wenku.baidu.com/link?url=rvkGe8yeNsk9J_D0OriX--_S0jYRrezbiP2e5aZ_XiIo5B5WhHZeOOSNGDwXNReHW8IenNovrOGnVgXZjSUCQH1AmjT_mIIehJw2izGub9e
设置以及获取cookie
HttpCookie cookUserName =new HttpCookie("LogUserName", baseUserName);
cookUserName.Expires = DateTime.Now.AddDays(1);
Response.Cookies.Add(cookUserName);
HttpContext.Current.Request.Cookies.Get("LogCityName").Value