/// <summary> /// Sets the intermediate user cookie. /// </summary> public static void SetIntermediateAuthenticationCookie() { // The intermediate user cookie is secure to make it harder for unauthorized users to access intermediate installations, which often are placed on the // Internet with no additional security. CookieStatics.SetCookie( intermediateAuthenticationCookieName, intermediateAuthenticationCookieValue, SystemClock.Instance.GetCurrentInstant() + Duration.FromDays(30), true, true); }
/// <summary> /// Sets the intermediate user cookie. /// </summary> public static void SetCookie() { // The intermediate user cookie is secure to make it harder for unauthorized users to access intermediate installations, which often are placed on the // Internet with no additional security. CookieStatics.SetCookie(cookieName, cookieValue, DateTime.Now.AddMonths(1), true, true); }
/// <summary> /// EWF use only. /// </summary> public static void SetWarningsHiddenCookie() => CookieStatics.SetCookie(warningsHiddenCookieName, "", SystemClock.Instance.GetCurrentInstant() + Duration.FromHours(1), false, false);