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 733 posts 2844 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

Please Sign in or register to post replies

Write your reply to:

Draft