Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 16

connectrhagu81leafmonster +13 guests

'Visits' isn't counting right

My profile has my "Visits" count at 6, and I've been here a lot more than that... probably 50 at the very least. Something seems very amiss here.

Comments

  • lucluc
    Posts: 1,015
    I guess the number of visit are incremented once the transient key expires, and a new one is incremented.

    Which might be linked to:
    $Configuration['Garden']['Session']['Length'] = '15 minutes';

  • Posts: 2,058
    OK, then I've only visited 46 times. :p

    It can't be explained by something like session length. I've been a member for over 40 days and I've been here nearly every day (multiple times per day), save a couple weekends.

    Vanilla developer [GitHub, Twitter]

  • lucluc
    Posts: 1,015
    Then, browsing the code, it seems to be updated only if you sign in (not when you were "remembered" via a cookie) :

    $UserModel->UpdateLastVisit is called in _Authenticate (from library/core/class.passwordauthenticator.php).

    And this function seems to be called only when you sign in (I haven't investigated a lot).
  • Posts: 2,058
    Ugggh, that would explain it. Major lameness. I'd call that a bug because logins != visits. Thanks for the sleuthing @bean.

    Vanilla developer [GitHub, Twitter]

  • Posts: 4,883
    Yes - definitely a bug.
  • Posts: 159
    Sorry for to rout an old discussion out of bed, but this issue seems still alive.
    My profile has my "Visits" count at 0.
    I always loged in with my google acount.
  • I'm on 802, madness. :)
Sign In or Register to comment.