LogIn Control
The LogIn control provides any easy way to prompt and evaluate a user's login credentials. The TurnObject representing the user must be derived from the base interface IUser. Once the user has been verified as having access, the TurnSession.CurrentUser will be set as the verified user and the browser will be redirected to the page specified by the SuccessPage property or if no SuccessPage has been set it will return to the first originating page.
Automatic Login
For testing purposes it is possible to bypass the login screen and login a specified user. This is done by adding the key DefaultLogIn to the web.config file and setting the value to a users primary key. The login control will log the specified user in automatically. Remember to remove this key when the site goes live.
Configuration
| TargetObjectName | Name of the object in the TurnSystem that will be represented by this control. |
| TargetSystemName | Name of the TurnSystem that will be used by this control. |
| TargetSystemName | Name of the TurnSystem that will be used by this control. |
Appearance
| SubmitButtonText | Text on the button to submit log in credentials. |
| InvalidText | Text indicating invalid log in. |
| CssPrefix | Controls will use the style with the specified prefix. |
Behavior
| SuccessPage | Page to transfer to upon successful log in. |
© 2008 TurnObjects All rights reserved. Legal | Privacy
|