I do not know if my question is correctly formulated, but I have 2 domains. example: site1.com and site2.com on the same apache server. Then, both show the same website. but if I log on site1.com, I do not log in to site2.com and if I then start a session on site2.com, the site1.com session is closed. How can I make these two domains live together? that is, if I start session in domain 1, then when I enter domain 2 and the session is already started, and if I close the session in one, the session in the other domain is closed. Should I do some code or can I do it through the database?