Author: JeremyLibertor | Posted on: 12/4/2009 7:24:57 PM | Views : 327

I am using standard provider model. I have a normal login control, and it all works great.
However, sometimes I get the username and password through other methods and want to manually login the user.


In the codebehind I am looking for something like 
   membership.LoginUser(username,password)
or
   My.User.CurrentPrincipal = New iPrincipal(uername,password)
...anything that will allow me to login a user as the current principal, in the code behind with the username and password I have.


...

Go to the complete details ...