G
Guest
I know this must be simple, but i can't figure it out.
i'm creating user's from the code view using code similiar to this..
......
If Membership.RequiresQuestionAndAnswer Then
newUser = Membership.CreateUser( _
UserName.Text, _
Password.Text, _
Email.Text, _
Question.Text, _
Answer.Text, _
True, _
result)
Else
newUser = Membership.CreateUser( _
UserName.Text, _
Password.Text, _
Email.Text)
End If
If result = MembershipCreateStatus.Success Then
'log in user...
end if
i would like to login the user if the account is created. is ther some
library that i can include that has a login function?
maybe login(username,password)?
thanks for any help.
i'm creating user's from the code view using code similiar to this..
......
If Membership.RequiresQuestionAndAnswer Then
newUser = Membership.CreateUser( _
UserName.Text, _
Password.Text, _
Email.Text, _
Question.Text, _
Answer.Text, _
True, _
result)
Else
newUser = Membership.CreateUser( _
UserName.Text, _
Password.Text, _
Email.Text)
End If
If result = MembershipCreateStatus.Success Then
'log in user...
end if
i would like to login the user if the account is created. is ther some
library that i can include that has a login function?
maybe login(username,password)?
thanks for any help.
.