The only thing I can think of is adding a variable that you check to see if you should execute unload event at all.
Below is sudo code for what I'm thinking.
var isPostBack = false;
$(function(){
//you would copy this for select and any other form elements I forgot about
$('input').live('click', function(){
isPostBack = true;
});
});
function pageUnload(){
if(!isPostBack){
//do your unload code
}
}
...
<body onunload="pageUnload();">
...
Hope it works, I haven't tested, just kinda gone through the logic in my head.