Ricky,
I assume you are creating the cookie using the HttpResponse, such as:
HttpCookie cook = new HttpCookie("myCookie");
cook.Value = "just a test";
cook.Expires = System.DateTime.Now.AddDays(7);
Response.Cookies.Add(cook);
and then loading it back from HttpRequest with code such as:
HttpCookie cook = Request.Cookies["myCookie"];
If this is not working, you need to ensure that cookies are enabled on the
client browser. Use Tools -> Internet Options and check settings on the
Privacy tab.
Hope this helps.
Chris.
P.S. Where in China do you live? I have visited Beijing and Shanghai and
liked both cities very much. I am from the south of England myself.
"Ricky Liu" wrote:
Hi,all:
I want to ouput the cookie to a file form computer a,then I input the
cookie infor form the file to computer b,but the cookie didn't to work in
computer B,why?
thanks!!!!!!!
come form china!