confirm closing web page

Giganews Newsgroups
Subject: confirm closing web page
Posted by:  Fabrizio (fabrizio.cres…
Date: Mon, 14 Jul 2003

I've this problem.
I need, when the user close the web page, to show a message of confirm with
Ok and cancel.
With the event unload when I click cancel the web page closes however.
What can I do ?
Sorry for the bad English.