Hi all I am working on a 2 tier project and need (when the user closes the browser) to figure out a way of removing some .XML files stored in a dir on a server/local drive. any ideas?

instead of when a user closes browser, I am now going to use a button for this.I think it is more appropriate to use a button as a user might wish to keep the files.

I got the answer, I used system.io.file.delete for anyone else who is interested!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.