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 372 posts 608 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 1606 posts 4098 karma points c-trib
    Dec 17, 2010 @ 14:44
    Stefan Kip
    1
    Member.AddMemberToCache(member);
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies