开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜