Web Browser in .NET. Browser setting
I have created a web browser in .NET [c#]. It is working fine but I am little confused with how to manage these things.. please help me in deciding how to implement it!
- Where/How t开发者_Go百科he cookies will be stored in my browser?
- Bookmark?
- History?
- Pop Up blocker / other browser settings?
I can understand that the question is too general, but even your little suggestion will help me a lot.
- Look at how other browsers handle cookies, they store it in the browsers temp (cache) folder
- Bookmarks are just a key value list (at the very simpliest), key is a URL, value is the display name. Any place you can store a key/value list (like a database) would work.
- History is just bookmarks that are automatically captured and ordered by date.
- This depends on what you are using for the web browser control - if you are using the IE activeX control then you are stuck to sharing settings with it. This also means that you have a fantastic UI built for the settings though. If you have written your own then you need to store them somewhere, in a database for example.
I have mentioned database a few times, but I am not thinking a full MS SQL Server install, but rather something like SQLite.
精彩评论