Chris
Chris

Reputation: 2303

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 the 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.

Upvotes: 2

Views: 917

Answers (1)

Robert MacLean
Robert MacLean

Reputation: 39261

  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.

Upvotes: 3

Related Questions