4

I need to delete all cookies whose name starts with a certain prefix. But the Microsoft.Owin.ResponseCookieCollection is not enumerable. Do I need to query the underlying OWIN structures?

How can I get the keys for all cookies starting with a prefix and delete them?

MvdD
  • 22,082
  • 8
  • 65
  • 93

1 Answers1

2

I need to either sleep more or drink more coffee. The collection I wanted to enumerate was Microsoft.Owin.RequestCookieCollection, which is enumerable.

MvdD
  • 22,082
  • 8
  • 65
  • 93