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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user