<body onUnload="<%=Session.Abandon"%>"><B R><BR>and if it is, how effective is it at closing a session when people leave?
it won't work - think client/server
...any way around it? I don;t trust sessions ending on window closure...
You could write it as the last thing at the end of the page but it depends what you are trying to do. If you want to expand a little bit on why you want to do this and when, I'll try and help some more.