With WWC, I was able to set a cookie by passing an empty string for the expiry date. So, that made the cookie to be set only during the time the browser remained opened. With ASP.NET, I cannot find anything in regards to that. When we set the expiry date, this is a date value. So, I am not sure how to handle that requirement.