AnsweredAssumed Answered

How do I manage user sessions on two SugarCRM instances in the same server?

Question asked by Jaume Albaig├Ęs on Mar 23, 2015
I have two SugarCRM instances in the same server: one is for testing purposes while the other is the real production environment.

Some users exist both in testing and production instances. At this moment, when a user logs in one instance he gains access to the other instance without explicitly log in to it. Passwords are different and, still more, the user is inactive in one of the instances. So, I guess this is related to how SugarCRM manages user sessions.

I know there is a session_dir parameter in config.php, which is blank at the moment.

By the way, the PHP session.save_path parameter is set to /home/something/mydomain/tmp.

I would really like that they need to login explicitly to each instance, without gaining access to any of them because being logged to the other one. What should I do?

I tried to change session_dir in test instance setting it to /home/something/mydomain/tmp/test while creating the folder, but nothing changed.

Any clues or ideas? Thank you very much for your help!

Jaume

SugarCRM 6.5.11 CE

Outcomes