Re: Authenticate newly created Member



On 28 Jun 2006 12:13:10 -0700, "rshillington" <rshillington@xxxxxxxxx>
wrote:

I have my own subscription page that prompts for Membership info, among
other things. when the user submits a valid page I would like to 1)
Membeship.CreateUser and 2) automatically log in the newly created
user. Step 1 is simple, but it's not clear to me how to do step 2

Thanks in advance for any suggestions,

Ralph Shillington

for step 2, you can do this to get the user logged in.

FormsAuthentication.Authenticate("username", "password");

Peter Kellner
http://peterkellner.net
Peter Kellner
http://peterkellner.net
.