Änderungen

This commit is contained in:
ja
2021-09-13 16:49:45 +02:00
parent 95c96ab6d7
commit 16d0c5ace8
7 changed files with 38 additions and 18 deletions

View File

@@ -3,17 +3,7 @@ Partial Class Customers_Customers
Inherits System.Web.UI.MasterPage
Protected Sub LogoutButton1_Click(sender As Object, e As EventArgs)
MsgBox("Logged out!")
FormsAuthentication.SignOut()
Session.Clear() 'clear session
Session.Abandon() 'Abandon session
Response.Cache.SetExpires(DateTime.UtcNow.AddMinutes(-1))
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache.SetNoStore()
Response.Redirect("../newpageJulius_Sidebar.aspx")
Response.Redirect("../login/Logout.aspx")
End Sub
End Class