Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Brendan Rice 538 posts 1102 karma points
    Dec 17, 2010 @ 13:52
    Brendan Rice
    0

    Programatically log user in after creation

    Is there any way to log a user in after you have programatically created them?

    Have been bashing my head off a wall with this one so any help is appreciated.

  • Thomas Stock 40 posts 70 karma points
    Dec 17, 2010 @ 13:58
    Thomas Stock
    1

    Hi.

    Yes, there is.

    FormsAuthentication.SetAuthCookie(username, persist);

     

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Dec 17, 2010 @ 14:44
    Stefan Kip
    1
    Member.AddMemberToCache(member);
Please Sign in or register to post replies

Write your reply to:

Draft