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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

User logged in simultaneously with same details


Go to End


2 Posts   702 Views

Avatar
midoriberlin

Community Member, 5 Posts

28 October 2011 at 9:07pm

Hello all,

I've a member system set up for a specific section on a test site and all is working swimmingly. I've noticed during testing though that I can login as the same user simultaneously on different browsers. Now this is actually pretty handy for testing but I'm wondering if it's something I should be checking for in a live environment.

Anyone else any experience with this and if so any tips on how to accomodate this in a live environment? I guess what I'd like ideally would be that if you log in from a separate browser/computer and you're already logged in then it logs out the existing session. I suspect I might be able to cobble this together in a controller but was wondering if there is a standard way of doing this that exists already?

Any help appreciated.

Cheerio,

Andrew

Avatar
Willr

Forum Moderator, 5523 Posts

31 October 2011 at 8:16pm

In a couple trials I did to try and stop this it just ended up breaking things like previewing while editing, opening multiple tabs so simply ignored it. There's a module - concurrent editing which provides a warning in the cms if you're editing from multiple pages which might be suitable enough for your case.