Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Coki = new CookieHeaderValue("session-Id", "123");
- Coki.Expires = DateTimeOffset.Now.AddDays(2);
- Coki.Domain = Request.RequestUri.Host;
- Coki.Path = "/";
- Coki.Secure = true;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement