Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Seeing who is logged in?


Reply


3 Posts   309 Views

Avatar
P

Community Member, 3 Posts

18 July 2012 at 2:01pm

Hey, is it possible to somehow/where see a list of users currently logged into the front end?

Similarly, is it possible to see a list of people logged into the CMS?

Thanks!
P

Avatar
Willr

Forum Moderator, 5513 Posts

18 July 2012 at 8:05pm

The forum does something similar (https://github.com/silverstripe/silverstripe-forum/blob/master/code/ForumHolder.php#L208) but this checks the LastVisited datetime of the user. There is no flag 'logged in' as such since a users session may have timed out.

Avatar
P

Community Member, 3 Posts

19 July 2012 at 4:05pm

Cool thanks!

What about seeing who's currently logged into the CMS? Like a little panel or something?

Sorry if that's a dumb question, non-dev here.