Copied to clipboard

Flag this post as spam?

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


  • Fergus Davidson 309 posts 588 karma points
    Sep 06, 2016 @ 09:57
    Fergus Davidson
    0

    Error ...does not contain a definition for 'IncrementSession'*

    Hi

    i am getting the following error when i try the Session restricted option:

    CS0117: 'uIncrement.Core.Services.CounterService' does not contain a definition for 'IncrementSession'

    any ideas?

  • Cimplex 113 posts 576 karma points
    Sep 06, 2016 @ 17:16
    Cimplex
    100

    Hi Fergus, Yeah, try this:

    CounterService.IncrementWithSession(Model.Content.Id);
    

    // Herman

  • Fergus Davidson 309 posts 588 karma points
    Sep 08, 2016 @ 10:06
    Fergus Davidson
    1

    Thanks Herman

    i am sure i saw it somewhere as Increment Session, but i can't see it now - must have mistyped it.

    Thanks - works perfectly

  • Cimplex 113 posts 576 karma points
    Sep 08, 2016 @ 11:32
    Cimplex
    0

    Hi Fergus,

    Great! You are right, the project description page said IncrementSession and i updated it yesterday to IncrementWithSession, my mistake!

    Thank you for reporting.

    // Herman

Please Sign in or register to post replies

Write your reply to:

Draft