Posted on: 5/19/2013 3:22:24 PM | Views : 245

I have  website that uses the generic account log in template that comes when you create a new project. When the user logs in, a session variable is being set with the users information. How can I set that to NULL when the click the log out button that is in my master page?
<LoggedInTemplate> <p> Hello, <a runat="server" class="username" href="~/Account/Manage.aspx" title="Manage your account"> <asp:LoginName runat="server" ID="lblLogInName" CssClass="username" /> </a>! <asp:LoginStatus runat="server" LogoutAction="Redirect" LogoutText="Log off" LogoutPageUrl="~/Main/Default.aspx" /> </p> ...

Go to the complete details ...