I made a website, asked members to log in and statistically on his online time. It is the time to calculate his login account to the logout account (in minutes).
How can I do? What are you pay attention to, such as the time of session?