From 7df36dc972a304b8cb3ea32cd1efdcc4525b4398 Mon Sep 17 00:00:00 2001 From: ja Date: Fri, 29 Oct 2021 08:32:02 +0200 Subject: [PATCH] =?UTF-8?q?=C3=84nderungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Customers/Invoices.aspx | 4 ++-- Customers/Invoices.aspx.vb | 2 -- Global.asax | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Customers/Invoices.aspx b/Customers/Invoices.aspx index b3ad914..039a8ca 100644 --- a/Customers/Invoices.aspx +++ b/Customers/Invoices.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="false" CodeFile="Invoices.aspx.vb" Inherits="Customers_Invoices" %> +<%@ Page Title="" Language="VB" MasterPageFile="~/Customers/Customers.master" AutoEventWireup="true" CodeFile="Invoices.aspx.vb" Inherits="Customers_Invoices" %> @@ -185,7 +185,7 @@
- +
diff --git a/Customers/Invoices.aspx.vb b/Customers/Invoices.aspx.vb index 13d3287..f42ba5b 100644 --- a/Customers/Invoices.aspx.vb +++ b/Customers/Invoices.aspx.vb @@ -17,7 +17,6 @@ Partial Class Customers_Invoices Page.UnobtrusiveValidationMode = UnobtrusiveValidationMode.WebForms DataBind() tbl_Header_row.TableSection = TableRowSection.TableHeader - If (Page.IsPostBack) Then valreq_pickdate1.Validate() valreq_pickdate2.Validate() @@ -135,7 +134,6 @@ Partial Class Customers_Invoices th8.ForeColor = white End Sub - Protected Sub btn_resetForm_Click(sender As Object, e As EventArgs) txt_Absender.Text = String.Empty diff --git a/Global.asax b/Global.asax index bb24cc0..ec61e4e 100644 --- a/Global.asax +++ b/Global.asax @@ -30,9 +30,7 @@ void Session_Start(object sender, EventArgs e) { // Code, der ausgeführt wird, wenn eine neue Sitzung gestartet wird - FormsAuthenticationTicket formsAuthenticationTicket = new FormsAuthenticationTicket(2,"ticket",DateTime.Now,DateTime.Now.AddMinutes(-30),true,"Par1="+Session.SessionID.ToString()); - FormsAuthentication.Encrypt(formsAuthenticationTicket); - + } void Session_End(object sender, EventArgs e)