Login::LoggedIn Event
Occurs when the user logs in to the Web site and has been authenticated.
Assembly: System.Web (in System.Web.dll)
The LoggedIn event is raised after the authentication provider checks the user's credentials and the authentication cookie is queued to send to the browser in the next response. Use the LoggedIn event to provide additional processing, such as accessing per-user data, after the user is authenticated.
When a user submits his or her login information, the Login control first raises the LoggingIn event, then the Authenticate event, and finally the LoggedIn event.
Note |
|---|
When a user uses the Login control to log in to a Web site, all data in the view state and all post data is lost. Do not perform actions in the LoggedIn event that rely on the view state. |
For more information about handling events, see Handling and Raising Events.
Available since 2.0
.jpeg?cs-save-lang=1&cs-lang=cpp)