Unexpected behavior in DeactivateStep of the UserWizard control

  • Thread starter Thread starter Petar Atanasov
  • Start date Start date
P

Petar Atanasov

Hi, all

I have the following: a web app using the CreateUserWizard control.
After furnishing the user creation, the page automatically logs out the
current user and than logs in the newly created one. On the
DeactivateStep (ByVal sender As Object, ByVal e As System.EventArgs)
there is no relevant code for such action, except that the current newly
created user is added to the respective Role (Roles.AddUserToRole
(User.Identity.Name, sRoleName)).

Any suggestions?

THIA,
Petar
http://a-wake.net
 
Petar said:
Hi, all

I have the following: a web app using the CreateUserWizard control.
After furnishing the user creation, the page automatically logs out the
current user and than logs in the newly created one. On the
DeactivateStep (ByVal sender As Object, ByVal e As System.EventArgs)
there is no relevant code for such action, except that the current newly
created user is added to the respective Role (Roles.AddUserToRole
(User.Identity.Name, sRoleName)).

Any suggestions?

THIA,
Petar
http://a-wake.net

pfff - there's a property - LoginCreatedUser with a default of true...

Regards,
Petar
http://a-wake.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top