Nilesh,
I just tried and got the same result - onunload doesn't fire if process is killed.
I guess you're right - terminating the process acts at too high a level. The javascript engine must die before it has a chance to respond.
That said, I tested with IE6 under win 2000. It's just possible that there may be differneces in bahaviour depending on browser and OS. However, it seems certain that you can't rely on the event firing for all users in an internet-served application.
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372