Copied to clipboard

Flag this post as spam?

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


  • Asif Malik 203 posts 339 karma points
    Jan 21, 2013 @ 16:18
    Asif Malik
    0

    Tracking user time on site

    Hi I have a requirement to track how long a logged in user is on our site.

    I am planning to store a session variable once the system has determined the user is logged in.

    I am planning to set this variable on session start (to cater for the auto login) as well as when a user logs in (via the login form). When the session ends or when the user logs out, I will determine the amount of time spent on the site and save that information to a database.

    I am using Umbraco 4.11.3.1 and am wanted to know the best way to go about extending the application start, session start and session end methods. I have gone over Matts article http://blog.mattbrailsford.com/2010/07/11/registering-an-application-start-event-handler-in-umbraco/ but am not sure if this is the best approach in 4.11.3.1.

    Any help and guidance would be greatly appreciated.

    Asif

Please Sign in or register to post replies

Write your reply to:

Draft