(05-12-2017, 12:14 AM)Martin7483 Wrote: If only you as the super admin can access all accounts, why not just add an area on the main domain where you can view the info you want to view?
It's not about just accessing info, as it is a full CMS-type setup, so there would be too much info to simply list.
(05-12-2017, 12:14 AM)Martin7483 Wrote: You say that the subdomain is used to connect to the correct database. So i'm guessing the main database has a list of all the known subdomains. You can create a library that uses it's own DB connection to communicate with the clients DB
Or
You could just add your admin user credentials to the clients user table. But that will still require a double log in
Yes, the main DB has a list of all accounts/subdomains. There's no problem with me being able to connect to the client DB, but I would prefer to be able to access their account as they would, and see what they see (for management and troubleshooting), hence why I thought it'd be easiest to just log in as them (there is also specific info each user will see, so best to see the system through their login when debugging).
So do you think my initial idea is not possible? No way to set the cookie domain or otherwise recreate the login as that user, from a different domain?