How to create a Forms Authentication logout page in ASP.NET in VB.NET
You can create a Forms Authentication logout page by creating a logout button and calling the FormsAuthentication.SignOut() method, as shown here:
Protected Sub SignOutAction_Click(sender As Object, e As EventArgs)
FormsAuthentication.SignOut()
FormsAuthentication.RedirectToLoginPage()
End Sub
When you call the SignOut() method, you remove the authentication cookie. Depending on the application, you can redirect …