1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Fixed xf_session_activity params field not accurate

Discussion in 'Resolved Bug Reports' started by AndyB, Aug 31, 2013.

  1. AndyB

    AndyB Well-Known Member

    The xf_session_activity table has a field called params. The params field shows what the member is viewing. So for example if the member is viewing a forum called Announcements the params field would show:


    The bug that I'm seeing is if the member is on page 1, the params field would show page 2. If the member is on page 2 the params field shows page 3 and so on.
  2. Mike

    Mike XenForo Developer Staff Member

    I can't reproduce this and I don't see how it would really happen. I don't even get a page param on page 1 (as you shouldn't).

    Please confirm with add-ons disabled (and custom modifications removed) and on a default style.
  3. AndyB

    AndyB Well-Known Member

    Hi Mike,

    Please try your test using Firefox. Using Chrome I don't get the page param either, but I do with Firefox.
  4. Mike

    Mike XenForo Developer Staff Member

    I haven't actually managed to reproduce this, but I suspect it could be related to pre-fetching. We shouldn't update your location for a pre-fetch, though arguably we may just want to disable it entirely (it's added automatically via the page_nav).
  5. AndyB

    AndyB Well-Known Member

    Perhaps this setting has something to do with it?

    Admin CP -> Options -> Search Engine Optimisation (SEO) -> Include Content Title in URLs -> Unchecked

    My URL's exclude the title and are outputted as /forums/1/ etc...
  6. Mike

    Mike XenForo Developer Staff Member

    I've just changed this to stop updating the session on prefetch.

Share This Page