Logging out a user from the site
<p>I was adding login and logout functionality to my ASP.NET website. While I am able to make the user log in by checking the username and password but on some pages should be available only if he is logged in. I am doing this by storing the user's value in a session</p>

<p>Secondly, I am using a <code>Link button</code> which changes to <code>Logged in as example</code>. So, how does the user log out?</p>
