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.

Archive /

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

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

Existing system that controls session management?


Go to End


2 Posts   2023 Views

Avatar
MattKenefick

Community Member, 13 Posts

11 September 2008 at 9:26am

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.

Avatar
MattKenefick

Community Member, 13 Posts

11 September 2008 at 9:36am

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

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