Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Existing system that controls session management?

Our old forums are still available as a read-only archive.

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

Page: 1
Go to End
Author Topic: 1289 Views
  • MattKenefick
    Avatar
    Community Member
    13 Posts

    Existing system that controls session management? Link to this post

    I've built a custom User module in the backend similar to the Administration section but with minor differences to handle front-end registration and users separate from administrators.

    I have new Member modules and Authenticators in the sapphire code to handle the new tables and module. I can login using the existing form but it kills my session immediately.

    When I login using an administrator account, it recognizes that I have logged in through session. It doesn't recognize the other way though. My login will say "Welcome back," with the respective name of the user, just as it does with admin.

    The only difference I'm seeing is that it doesn't maintain the Session::get("loggedInAs"); the same way.

  • MattKenefick
    Avatar
    Community Member
    13 Posts

    Re: Existing system that controls session management? Link to this post

    Sorry. I was wrong. It is picking it up now. I must not have refreshed something.

    Thanks anyway! You can kill this thread if you like.

    1289 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.