private void SetCookie(Session session) { Headers.AddCookies(new[] { new CookieHeaderValue(SessionBinder.CookieName, session.UserId.ToString()) { HttpOnly = true, Path = "/", Expires = DateTimeOffset.MaxValue } }); }
private void SetCookie(Session session) { Headers.AddCookies(new[] { new CookieHeaderValue(SessionBinder.CookieName, session.UserId.ToString()) { HttpOnly = true, Path = "/", Expires = DateTimeOffset.MaxValue } }); }