I use Silverlight Business Application (Application with RIA Services). Create new project. All setting by default.Compile and run it. In application I create new user. It's all right. Then I add a chackbox to LoginWindow.xaml:
<CheckBox x:Name="isPersistent" Content="Remember me"/>
and modify LoginButton_Click method.
private void LoginButton_Click(object sender, RoutedEventArgs e)
{
SetEditableState(false);
var parameters = new LoginParameters(loginUserNameBox.Text,
loginPasswordBox.Password,
(bool)isPersistent.IsChecked);
UserService.Current.Login(parameters);
}
But when I login and chek the "Remember me" CheckBox - user is not persist between sessions.
What I'm doing wrong? How I can make user persist between sessions?