In ASP.NET, I can do Session["something"] = something;
, and then I can retrieve in another page the value of the session. Is there a Session in WPF that would allow me to do the same in ASP.NET? I notice there is no session in WPF because there is state. Because I got many user control pages, I need to get its values and display it on the MainWindow.
Is there anything similar to Session in WPF?
Some resources say to use cookies. How do I do that? mine Is a WPF application not a WPF web application?
See Question&Answers more detail:os