Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Mandrillcomics's avatar

Get unique session between subdomains, but the server has two domains name

Hello,

I would like to share a session between subdomains, difficulty is I've got two domains on this server, so I can't change session.php with 'domain' => '.firstdomain.com' otherwise seconddomain.com will not have session anymore.

Any idea ?

0 likes
0 replies

Please or to participate in this conversation.