Jump to:

22992 Posts in 11842 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » User logged in simultaneously with same details

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

Page: 1
Go to End
Author Topic: 298 Views
  • midoriberlin
    Avatar
    Community Member
    5 Posts

    User logged in simultaneously with same details Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: User logged in simultaneously with same details Link to this post

    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.

    298 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.