Copied to clipboard

Flag this post as spam?

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


  • Sören Deger 726 posts 2833 karma points c-trib
    Feb 05, 2014 @ 13:57
    Sören Deger
    0

    Member AfterAddToCache Event not fire in V6

    Hi,

    the AfterAddToCache- and BeforeAddToCache-Event not fire in umbraco 6.1.6,

    This is my code:

    protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
    {
          Document.AfterPublish += Document_AfterPublish;
          Document.AfterUnPublish += Document_AfterUnPublish;
          Member.AfterAddToCache += Member_AfterAddToCache;
    }
    
    private void Member_AfterAddToCache(Member sender, AddToCacheEventArgs e)
    {
         umbraco.library.SendMail("[email protected]", "[email protected]", "Start", "Start Eventhandler", false);
    }

    Both Document-Events works fine, but the member-event don't fire. I have the same problem with the BeforeAddToCache-Event.

    Has anyone an idea?

     

    Best regards
    Sören

  • 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