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

User logged in simultaneously with same details


2 Posts   354 Views


28 October 2011 at 9:07pm Community Member, 5 Posts

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.




31 October 2011 at 8:16pm Forum Moderator, 5511 Posts

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.