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.
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
is working on a reply...