示例:
<script language=javascript>
function window.onunload()
{
if (event.clientX < 0 && event.clientY < 0)
window.open("logout.aspx", "logout");
}
</script>
in logout.aspx:
<% Session.Abandon() %>
参考:
http://www.eggheadcafe.com/articles/20021016.asp
本文地址:http://com.8s8s.com/it/it43342.htm