diff --git a/Customers/CustomerIndex.aspx.vb b/Customers/CustomerIndex.aspx.vb index 55ce019..cb1a8e9 100644 --- a/Customers/CustomerIndex.aspx.vb +++ b/Customers/CustomerIndex.aspx.vb @@ -1,5 +1,16 @@  Partial Class Kundenbereich_Default Inherits System.Web.UI.Page + Protected Sub LogOutBtn1_Click(sender As Object, e As EventArgs) + FormsAuthentication.SignOut() + Session.Abandon() + Response.Redirect("../newpageJulius_Sidebar.aspx", True) + End Sub + Protected Sub LogOutBtn2_Click(sender As Object, e As EventArgs) + + FormsAuthentication.SignOut() + Session.Abandon() + Response.Redirect("../newpageJulius_Sidebar.aspx", True) + End Sub End Class diff --git a/Customers/Customers.master b/Customers/Customers.master index fea0d2b..11ede6b 100644 --- a/Customers/Customers.master +++ b/Customers/Customers.master @@ -335,8 +335,8 @@ -
  • - +
  • Logout
  • + @@ -380,7 +380,7 @@
  • - /><%=strENlang %> + /><%=strENlang%> ' If laenderkuerzel = "yu" %>
  • @@ -441,7 +441,7 @@ -
  • +
  • Logout
  • @@ -460,10 +460,10 @@ /><%=stringDE%> /><%=stringTR%> - /><%=stringEN%> + /><%=stringEN%> /><%=stringBIH%> /><%=stringSRB%> - /><%=stringBG%> + /><%=strBGlang %> @@ -509,6 +509,6 @@ $('#sidebar').toggleClass('active'); }); }); - + diff --git a/images/Icons/main/back_arrow_.png b/images/Icons/main/back_arrow_.png new file mode 100644 index 0000000..b9e7401 Binary files /dev/null and b/images/Icons/main/back_arrow_.png differ diff --git a/login/LogOut.aspx b/login/LogOut.aspx new file mode 100644 index 0000000..5f428e2 --- /dev/null +++ b/login/LogOut.aspx @@ -0,0 +1,90 @@ +<%@ Page Language="VB" AutoEventWireup="false" CodeFile="LogOut.aspx.vb" Inherits="login_LogOut" %> + + + + + + + VERAG LogOut + + + + + + + + + + + + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + + + + + + + + +
    +
    + + Zurück zum Start +
    +
    + + + + + + + + + + + + + + + diff --git a/login/LogOut.aspx.vb b/login/LogOut.aspx.vb new file mode 100644 index 0000000..39a47ca --- /dev/null +++ b/login/LogOut.aspx.vb @@ -0,0 +1,12 @@ + +Partial Class login_LogOut + Inherits System.Web.UI.Page + Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load + Session.Abandon() + FormsAuthentication.SignOut() + Response.Cache.SetCacheability(HttpCacheability.NoCache) + Response.Cache.SetExpires(DateTime.UtcNow.AddHours(-1)) + Response.Cache.SetNoStore() + End Sub + +End Class diff --git a/login/Loggedin.aspx b/login/Loggedin.aspx index 8458719..c55d791 100644 --- a/login/Loggedin.aspx +++ b/login/Loggedin.aspx @@ -85,6 +85,10 @@ if (top != self) setInterval("top.location.replace('../admin/admin.aspx')", 1); } + function bust3() { + if (top != self) + setInterval("top.location.replace('../login/LogOut.aspx')", 1); + } @@ -121,27 +125,14 @@ - - - Benutzername: - - - - * - - - - - Kennwort: - - - - * - - + + +
    + + -
    +
    diff --git a/login/login_FLEX.aspx b/login/login_FLEX.aspx index 928074c..cbd69e5 100644 --- a/login/login_FLEX.aspx +++ b/login/login_FLEX.aspx @@ -15,8 +15,8 @@ - - + + + \ No newline at end of file