Exemplo n.º 1
0
 public static void SetCookie(string url, string name, string value, long expire)
 {
     Application.SetCookie(new Uri(url), string.Format("{0}={1}; Expires={2}", name, value, BiliFactory.GetFormatDate(new DateTime(expire))));
 }