public static void CreateValueSession(Settings.Session session, string value)
 {
     if (HttpContext.Current.Request.Cookies[session.ToString()] == null)
     {
         HttpCookie cookie = new HttpCookie(session.ToString())
         {
             Value   = value,
             Expires = DateTime.Now.AddHours(Int32.Parse(Settings.GetKey(Settings.KEY.timeSession)))
         };
         HttpContext.Current.Response.Cookies.Add(cookie);
     }
     else
     {
         HttpContext.Current.Response.Cookies[session.ToString()].Value   = value;
         HttpContext.Current.Response.Cookies[session.ToString()].Expires = DateTime.Now.AddHours(Int32.Parse(Settings.GetKey(Settings.KEY.timeSession)));
     }
 }
 public static Object GetValueSession(Settings.Session session)
 {
     return(HttpContext.Current.Request.Cookies[session.ToString()].Value);
 }
 public static void DestroyValueSession(Settings.Session session)
 {
     System.Web.HttpContext.Current.Request.Cookies.Remove(session.ToString());
 }