Is there a way for the OnUnload event to tell whether the user clicked X to close the brower session, or just clicked on a link?

Thanks!