Dispose() on asp.net pages
<p>I have ASP.NET web site and I get a session id from a web service where I am going to use throughout rest of pages.  I am passing this session id between pages to peform some action.  What I am trying to achieve is that I want to make sure I release this session id from the web service by calling it's logout method when the user closes a page.  I am thinking to add Dispose() on each page and call the logout method.  Does Dispose() get called when the user closes a page (browser)?  Or, how can I call the logout method when a page is closed?</p>

<p>Thanks.</p>
