Copied to clipboard

Flag this post as spam?

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


  • Rich Green 2246 posts 4008 karma points
    Jul 05, 2011 @ 19:16
    Rich Green
    0

    Hooking into the login event?

    Hey,

    I need to set a session value when a user logins to the back end for use in a legacy system.

    Anyone know how I can hook into that event?

    Cheers

    Rich

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 05, 2011 @ 20:49
    Dirk De Grave
    0

    Yup, inherit from the umbraco membership for users and you're good to go. Don't foget to change the settings in web.config (and maybe umbracoSettings.config)

     

    Cheers,

    /Dirk

  • firepol 125 posts 173 karma points
    Mar 28, 2012 @ 10:12
    firepol
    0

    Hi, I'd like to run some code directly after the user logins in the backend, but can't find any examples out there.

    I added umbraco 4.7.1 as project inside a visual studio 2010 solution.

    My question is now where and how to add the necessary code to hook to the logib event?

    A step by step easy example would help, such e.g. "create a bla.cs file inside "App_Code" " and give some lines of code. That would be really nice.

    Thank you and cheers

    --firepol

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Apr 04, 2012 @ 19:35
  • 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