I have a page that lists links to a javascript popup that starts a session. Each link has a unique id that opens the same popup but with different session data. When the popup is closed, and another link is clicked, the data from what was clicked is still there. My question is this, is there a way to destroy sessions when the window closes? I had a popup that came up onUnload that would destroy the session. I don't really like this method since it is not really reliable.