As I discovered here, when I make a call to a server to ask for authentication in the form of a cookie, the cookie in the response is handled automatically by the underlying metro framework.
However, this means I don't have access to the cookie and, therefore, cannot store it when the app is suspended for later use. How are we supposed to store cookie information in the metro framework?
All help is greatly appreciated and I always accept an answer!
Open Microsoft Edge and then select Settings and more > Settings > Site permissions. Select Cookies and site data. Here you can set specific controls for cookies. Select See all cookies and site data.
Microsoft Store has nearly everything you could want for your Windows device, including the latest games, popular movies and TV shows, creativity software, apps,1 and more.
We implemented sessionStorage for sessions and localStorage for persistence as a complete cookie replacement in our Windows 8 app and it has worked very well. Both storage engines are extremely straightforward to use, you can read up on them here: https://developer.mozilla.org/en-US/docs/Web/Guide/DOM/Storage
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With