Click here to Skip to main content
15,889,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to display the status of a user.If the user will be online then I have to show green icon on the user profile.If a user will be offline then I have to show grey icon and it might be possible that user will be logged in but not active in that case I have to display orange icon(for the idle user) on the profile.

I have to implement this feature in Kentico.

Thanks in Advance
satyam

What I have tried:

I can get if the user will be offline or online using Kentico API but I don't have any idea that how to get the idle state of any user.
Posted
Updated 21-Mar-18 1:31am
v2

1 solution

Right off hand, the best way I can think of is to maybe update an activity table in the database every time the user does something that submits a GET or POST request to the site. And maybe have a web service that pushes activity to the page used for monitoring this activity.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900