Sunday, March 18, 2012

Cookies in asp.net



Response.Cookies["infn"]["visitDate"].Value = DateTime.Now.ToString(); 
Response.Cookies["infn"]["FName"].Value = "Tony";
Response.Cookies["infn"]["borderColor"].Value = "blue"; 
Response.Cookies["infn"].Expires = DateTime.Now.AddDays(1); 
 

No comments:

Post a Comment

Comments

Protected by Copyscape Plagiarism Software