开发者

Error creating new user by Admin

I am creating a web application using Form Authentication of Asp.Net with C# and back end Sql Server. Here in my application administrator login and creates new users. I am using the create user wizard under login controls. My problem is when the new user is created by Admin he is automatically logged out and logged in with new user credentials which he has just created. Any help would be开发者_开发百科 highly appreciated.


The CreateUserWizard has a property called LoginCreatedUser. Set it to false, and this will solve the issue.


Perhaps that wizard is meant for new users so that they can create their own account when they visit the site. it is not intended to work the way your admin is using it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜