Datum bleibt nach Buttonklick bestehen während Postback
This commit is contained in:
@@ -48,24 +48,13 @@ Partial Class login_login_TEST
|
||||
dr.Close()
|
||||
con.Close()
|
||||
End Using
|
||||
|
||||
|
||||
End Using
|
||||
End Sub
|
||||
|
||||
Protected Sub LoginButton_Click(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
Protected Sub LogoutButton_Click(sender As Object, e As EventArgs)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user