Posts : 142
Join date : 2011-08-01
|Subject: vb.net windows xp cookies raigeki Wed Oct 19, 2011 10:06 am|| |
the following code will delete all the cookies, even the once that aren't deleted in IE ( internet explorer 8 ) from : tools, internet option, delete.
as a result of running the code the user will not be recognized or logged in to sites like youtube and various forums.
naturally, the user can relog in to those sites.
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
For Each f In Directory.GetFiles("C:\Documents and Settings\" & Environment.UserName & "\Cookies", "*.txt", SearchOption.AllDirectories)
Catch ex As Exception
' * delete cookies that ie doesn't delete from it's tools, delete
alternitively, on windows xp the user can delete the cookies manually :
start, run, cookies, delete all .txt files only.
kurayami no kagi