开发者

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!

  1. Where/How t开发者_Go百科he cookies will be stored in my browser?
  2. Bookmark?
  3. History?
  4. 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.


  1. Look at how other browsers handle cookies, they store it in the browsers temp (cache) folder
  2. 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.
  3. History is just bookmarks that are automatically captured and ordered by date.
  4. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜