createuserwizard is not automatically logging in the registered user
I am using createuserwizard to register the users for the website. When the user is regist开发者_JAVA百科ered, it is not automatically logging-in the user. The user has to click on sign-in again to login. I set the property "LoginCreatedUser" to true but still it is not working. Please let me know if I am missing any settings.
Thanks, sridhar.
I found the answer. I added the FormsAuthentication.SetAuthcookie(username, true) and it worked.
精彩评论