Browser Close event Problem

Giganews Newsgroups
Subject: Browser Close event Problem
Posted by:  navins… (Navin)
Date: 3 Sep 2003

which event is fired when a browser is closed.
i want to call asp page which delete some files on the server.
when the browser is closed
i tired using onunload event of the body tag but it alos get fired
when a page is refreshed.
the thing should work in netscape also.
please advise me .
Navin Mahindroo