Saturday, March 24, 2012

Simple Cookie Question

Do cookie values have a length limit?

DThey normally expire when you close your browser. But you can set them to expire when you want. eg

Response.Cookies("Mycookie")("Name") = "asp"
Response.Cookies("Mycookie").Expires = Datetime.Now.AddMonth(12)

0 comments:

Post a Comment