title: Persistent cookies in WPF WebBrowser control?
body: <p>I'm using the WPF WebBrowser to display online help inside an app (just a few small web pages). Some of  those pages use cookies to display items only for the first few times the pages are viewed (it's a "Why not try X" type of thing). </p>
  
  <p>However, for some reason the cookies don't seem to be working inside the WebBrowser control. They work fine in full IE as well as Firefox and Chrome (so the items correctly hide), but they never hide when viewed through the WPF WebBrowser control.</p>
  
  <p>Is there something special about using cookies in the WPF WebBrowser control? It seems to be behaving as if all the cookies are only stored in memory, rather than being persisted on disk.</p>
  
  <p>Here's one of those pages inside a browser (where the cookies work):</p>
  
  <p><img src="https://i.stack.imgur.com/FQzOA.png" alt="Help pane inside a browser"></p>
  
  <p>And here's the exact same page inside the app:</p>
  
  <p><img src="https://i.stack.imgur.com/PDl28.png" alt="Help pane inside the application"></p>
  
  <p>That additional content should only be visible for the first few times of using the software (i.e. it should be hidden after N views of that web page), but because I can't get cookies to work it's always visible.</p>