Free cookie consent management tool by TermsFeed Policy Generator

source: branches/WebApplication/WebSites/HeuristicLabWeb/LoginForm.aspx.cs @ 5681

Last change on this file since 5681 was 4585, checked in by gschwarz, 14 years ago

#1198 Authentication implemented with GetDateTimeString only for User: Gerhard

File size: 560 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Web;
5using System.Web.UI;
6using System.Web.UI.WebControls;
7using System.Web.Security;
8
9public partial class LoginForm : System.Web.UI.Page
10{
11   
12    protected void Page_Load(object sender, EventArgs e)
13    {
14    }
15    protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
16    {
17        if( Membership.ValidateUser(Login1.UserName, Login1.Password ) )
18            FormsAuthentication.RedirectFromLoginPage(Login1.UserName, false);
19    }
20}
Note: See TracBrowser for help on using the repository browser.