Overview Support Download Purchase

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

PropertyShort Description
TargetObjectNameName of the object in the TurnSystem that will be represented by this control.
TargetSystemNameName of the TurnSystem that will be used by this control.
TargetSystemNameName of the TurnSystem that will be used by this control.

Appearance

PropertyShort Description
SubmitButtonTextText on the button to submit log in credentials.
InvalidTextText indicating invalid log in.
CssPrefixControls will use the style with the specified prefix.

Behavior

PropertyShort Description
SuccessPagePage to transfer to upon successful log in.

© 2008 TurnObjects All rights reserved.  Legal  |  Privacy