Ä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

14
login/Logout.aspx.vb Normal file
View File

@@ -0,0 +1,14 @@

Partial Class login_Logout
Inherits System.Web.UI.Page
Protected Sub Page_Load(sender As Object, e As EventArgs)
FormsAuthentication.SignOut()
Dim sessionname = Session.Item("lastpage").ToString
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(sessionname)
End Sub
End Class