Solved

How to delete all cookies on a system?

Posted on 2000-04-30
8
244 Views
Last Modified: 2010-04-04
I want to delete all the cookies on the system. I am using D5 + W2k perf.

Thanks
Jammy
0
Comment
Question by:jlislo
8 Comments
 
LVL 1

Expert Comment

by:rowisoft
ID: 2765384
Hy!

The cookies are in
Windowspath\Teporary Internet Files

In IE you can "extras", "Internetoptions" and clear the cache!

Whats the problem????

Robert
0
 
LVL 1

Expert Comment

by:tomer_engel
ID: 2765473
not only
if there's more then one useron the computer...    
a)in the c:\windows\profiles->the profile here\ and look for the cokkiesin the sub directory
b)you can disable ALL cokie use in the internet  options menu and Advanced TAB and down the tree there's "cookie use" profile

as rowisoft   asked  .. what for???

Tomer                                  
0
 

Author Comment

by:jlislo
ID: 2765951
Adjusted points from 50 to 100
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 

Author Comment

by:jlislo
ID: 2765952
Sorry! May be I didn't make it clear. I want to write a procedure in D5 to delete the cookies of W2K perf. W2k can be log on by different user and the cookies is store in different dir not like win98.

I like to know is there a Window API call I can use to delete those cookies.

I am increase the points to 100.

Thanks

Jammy
0
 
LVL 10

Accepted Solution

by:
ptmcomp earned 100 total points
ID: 2766235
Look at:
http://support.microsoft.com/support/kb/articles/Q194/7/02.ASP

uses
  ShlObj;

procedure TForm1.Button1Click(Sender: TObject);
var
  Path: String;
begin
  SetLength(Path, MAX_PATH);
  SHGetSpecialFolderPath(0, PChar(Path), CSIDL_COOKIES, false);
  Path:=String(PChar(Path));
  ShowMessage(Path);
end;

Regards, ptm.
0
 
LVL 10

Expert Comment

by:ptmcomp
ID: 2766267
At http://msdn.microsoft.com/library/psdk/shellcc/shell/Functions/CSIDL.htm you can also find CSIDL_PROFILE that shows you where your profile is stored.
Has your code to work with roming profiles?? If your computer is in a network, it's not shure that profiles of other than the actually logged in user are locally stored!
0
 

Author Comment

by:jlislo
ID: 2767329
Thanks
0
 
LVL 10

Expert Comment

by:ptmcomp
ID: 2767504
Thanks, too. >;o}
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question