When clicking logout button I just used :
response.redirect("login.aspx");
But the thing is when I click back in browser, it is logging in without entering passwords.
Secondly, my question is how to end this session.
My code snippet is here,
<li><a href="Default.aspx" runat="server" onclick="LogoutClicked()"><span class="glyphicon glyphicon-log-out"></span> Log Out</a></li>
Thirdly, that is a asp.net page using C#, but I just used an anchor tag that just redirects.