Deleting cookies

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

Is there any way to have the cookies deteled
automatically, for example when a user closes the
Internet Explorer - Windows XP ?

Many thanks
 
Hi,

If you're responsible for the cookies (i.e. you created them), try not
setting the expires data. The following example, from the PlatformSDK, uses
InternetSetCookie to create a session cookie (that gets deleted when the
session ends), or a persistent cookie:

// Create a session cookie.
bReturn = InternetSetCookie("http://www.adventure_works.com", NULL,
"TestData = Test");

// Create a persistent cookie.
bReturn = InternetSetCookie("http://www.adventure_works.com", NULL,
"TestData = Test; expires = Sat, 01-Jan-2000 00:00:00 GMT");
Similar techniques should work from other techniques for cookie creation,
but I can't find any simple way to do it otherwise

Rob
 
Hi Chv,

Thanks for posting!

My understanding on the issue is: I want to delete the cookies
automatically in Windows XP. If I have misunderstood your concerns, please
feel free to let me know.

Based on my research, you may use third-party software to achieve your
goal. I would like to provide a software for your reference:

Window Washer
http://www.webroot.com/land/windowwashera.php?rc=438

http://www.pchell.com/support/privacy.shtml

===================================================
This response contains a reference to a third party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any software or
information found there. There are inherent dangers in the use of any
software found on the Internet, and Microsoft cautions you to make sure
that you completely understand the risk before retrieving any software from
the Internet.

Jason Tan

Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

=====================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

=====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
Back
Top