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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Seeing who is logged in?


Go to End


3 Posts   792 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, 5523 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.