How do I set cookie expiration to "session" in C#?

Viewed 31237

Self-Explanatory. In PHP, the solution would be to set the cookie expiration to 0; I'm unsure about C# since it requires a DateTime value.

3 Answers
Related