Css Datei angepasst und Änderungen in Layout vorgenommen:

Grid system eingefügt (responsive) und Login angepasst mit Session Vriablen an CustomsAviso übergeben bzw an gesamte Session für den jeweiligen Benutzer setzen
Hinweise:
siehe https://docs.microsoft.com/en-us/previous-versions/aspnet/ms178581(v=vs.100)
This commit is contained in:
ja
2021-09-13 15:23:47 +02:00
parent a7c7dfee21
commit a0b6a7c108
6 changed files with 267 additions and 248 deletions

View File

@@ -3,7 +3,7 @@ Imports System.Data
Partial Class login_login_TEST
Inherits System.Web.UI.Page
Dim CustomerIDTextBox As TextBox
Protected Sub ValidateUser(sender As Object, e As EventArgs)
Dim userId As Integer = 0
' cDBFunctions.GetNewOpenConnection()
@@ -39,6 +39,12 @@ Partial Class login_login_TEST
Login1.FailureText = "Account has not been activated."
Exit Select
Case Else
Session.Add("test", Login1.UserName)
CustomerIDTextBox = Login1.FindControl("CustomerID")
Session.Add("CustomerID", CustomerIDTextBox.Text)
Session.Add("PW", Login1.Password)
FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet)
'FormsAuthentication.SetAuthCookie(Login1.UserName, True)
'Response.Redirect("mypage.aspx")