Moodle multi-tenancy change database without logging off

Moodle multi-tenancy change database without logging off

by Ahmad Saad -
Number of replies: 2

we apply our multi-tenancy we have multiple moodle databases attached to a single moodle code, if i have same user in multiple DBs and i'm logged into one of them i want to switch between databases without retype username and password , i have tried to change it from config.php but the configuration won't change and i'm redirected back to same database, how to reinitialize configuration with new DB or if there other solution.

Average of ratings: -
In reply to Ahmad Saad

Re: Moodle multi-tenancy change database without logging off

by Richard Oelmann -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
I'm not sure that is so much about database access, as setting your sites up with Single Sign On features. Maybe mnet from one central Moodle that does all the authentication? Or some other authentication source.


In reply to Richard Oelmann

Re: Moodle multi-tenancy change database without logging off

by Ahmad Saad -
Thanks Richard, i am checking it out.