Results 1 to 2 of 2

Thread: Just Clearrrrrrrr Cookie

Hybrid View

  1. #1
    Member
    Join Date
    Jan 12
    Posts
    33

    Angry Just Clearrrrrrrr Cookie

    Looked at all the sites, forums, and got to page 560 on Google code and I did not find one right to delete cookies
    please help me i wont code to remove all cookies in webbrowser with out restart app or create a new webbrowser !
    Example site asks you enter No. i entered 5 the site will saves the No. in cookies i wont code to clear all cookie

    THANK ALOT

  2. #2
    Member
    Join Date
    Mar 11
    Posts
    44

    Re: Just Clearrrrrrrr Cookie

    When you make a browser using the .NET control, you're not actually making a browser. You're basically just changing the look and feel of IE, adding or changing basic features, and often times, leaving out many features.

    Since the WebBrowser control is basically a stripped down version of Internet Explorer, any temp files, cache, and/or history is stored in the same place as IE's folders.

    So, using
    System.Environment.SpecialFolder.InternetCache()

    should allow you to get the path of the Cache for IE, which in turn will get the cache for your "browser."

    From there, you can delete it programmatically.

    This is all assuming you have not created your own location for your temp files.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •