This documentation is archived and is not being maintained.
Handling FormsAuthentication Events
Visual Studio 2005
To customize how the forms authentication ticket is handled and how theproperty is set, you can handle the FormsAuthentication_OnAuthenticate event in your application's Global.asax file. Although it is common to allow forms authentication manage these tasks for you, your applications might have specific requirements, such as setting the User property to a custom class that implements the interface. In those cases, your application should handle the FormsAuthentication_OnAuthenticate event and perform cookie management. For more information, see .