battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share
 

 vb.net windows xp cookies raigeki

Go down 
AuthorMessage
Admin
Admin
Admin
Admin

Posts : 129
Join date : 2011-08-01

vb.net windows xp cookies raigeki Empty
PostSubject: vb.net windows xp cookies raigeki   vb.net windows xp cookies raigeki EmptyWed 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.

Code:
Imports System.IO
Public Class Form1

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        Try
            For Each f In Directory.GetFiles("C:\Documents and Settings\" & Environment.UserName & "\Cookies", "*.txt", SearchOption.AllDirectories)
                File.Delete(f)
            Next
        Catch ex As Exception
            MsgBox(ex.Message.ToString)
        End Try
    End Sub
    ' * delete cookies that ie doesn't delete from it's tools, delete
End Class

alternitively, on windows xp the user can delete the cookies manually :
start, run, cookies, delete all .txt files only.
cheers

_________________
kurayami no kagi :TO:
Back to top Go down
View user profile http://yotamarker.forumotion.com
 
vb.net windows xp cookies raigeki
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: