Hello,
as i wrote yesterday i use two installations of modx on the same server.
I want to use both simultaneously, but i cant.
A login to one install kicks me out of the other (vice versa)
I think it happens because of the session-id: I guess if it is unknown to modx it generates a new one, overriding the old one from the other modx.
Well, i could use the session_path system-setting to have multiple session-id-cookies. And it works.
Only if there weren’t the folder containing the components i’m developing.
Let me try to explain that:
I have three web-accessable directories
http://myhost/modx/dev/
http://myhost/modx/test/
http://myhost/modx/mycomps/
First and second are separate modx-installations, one for developing und one for testing the packaged components.
Third is the directory that contains the components to develop.
Those components are included in http://myhost/modx/dev/ using mycomponent.assets_url and mycomponents.core_path setting.
If i now use session_path to have multiple session-id-cookies, the connector.php of any of my components wont get the session-id.
If i leave session_path "/" i cant be simultaneously in both modx-installations.
I hope you understood that
There are several other options for me beside session_path, eg subdomains.
But isn’t there some way to tell modx to not recreate the session-id?
Or maybe other suggestions to setup my development-environment on the server?