我知道为空,但是Response.Cookies["name"].Value != null确是true.所以用我那个方法可以判断.

飘过~~
2010-07-02 14:51
程序代码:
HttpCookie aCookie = new HttpCookie("text");
aCookie.Value = TextBox1.Text.Trim();
aCookie.Expires = DateTime.Now.AddDays(10);
Response.Cookies.Add(aCookie);if (!string.IsNullOrEmpty(Response.Cookies["text"].Value))
2010-07-02 15:06

2010-07-02 16:09
2010-07-02 17:28
2010-07-02 20:10


2010-07-02 21:04
2010-07-03 09:18
2010-07-03 15:25
2010-07-03 19:06

2010-07-04 20:36