FormsAuthenticationEventArgs

FormsAuthenticationEventArgs

System.Web.Security (system.web.dll)sealed class

This class is a custom System.EventArgs that is used in the event handler for the FormsAuthenticationModule.Authenticate event. It provides two properties: Context, which provides a reference to the current System.Web.HttpContext, and User, which will be a null reference because information is not yet retrieved from the Forms authentication cookie. This event is not typically used because Forms authentication already uses the custom code you have created for the login page.

public sealed class FormsAuthenticationEventArgs : EventArgs { // Public Constructors    public FormsAuthenticationEventArgs(System.Web.HttpContext context); // Public Instance Properties    public HttpContext Context{get; }    public IPrincipal User{set; get; } }

Hierarchy

System.Object System.EventArgs FormsAuthenticationEventArgs

Passed To

FormsAuthenticationEventHandler.{BeginInvoke( ), Invoke( )}



ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net