We help IT Professionals succeed at work.
Get Started

changing location of cache/cookies/history of the webbrowser control

lilkiddoe
lilkiddoe asked
on
340 Views
Last Modified: 2010-05-01
Is there any way to change the location of the cache/history of the webbrowser control? Like where it writes all its cookies? I don't mind using the SHDocVw.InternetExplorer class either.

I know that you can change the cookies directory and such inside the registry, however that only works for IEXPLORER.EXE, it will not work for anything you put in your program. If you use the webbrowser control or the internetexplorer class from your program, it will use the default directory C:\Documents and Settings\User\Cookies, and it won't use the directory that you set in the registry.

Does anyone know how to change these locations inside your program?
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 7 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE