I am writing an extension for IE using C# and Windows Forms / BHO Objects. I need to create a cookie which I can use to access information from other classes / forms in the app.
The various methods for creating cookies all seem to be related to ASP.NET and using the Http Response Filter, which do not help me here. I am not sure that I even need a session for what I am trying to accomplish, I just need to be able to create the cookie, access the information from the application, and then purge when needed. Thanks!
Sessions and cookies are web technology. You probably won’t need to have that in your Windows application. Instead you can use a static class.
This is just one way. A really suitable method depends on what you actually want to achieve.