Are you using ASP.NET Membership provider if so you can use FormsAuthentication.SignOut
Else you can try Session.Clear