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

alainbelez's avatar

subdomain routing session

i logged in at cms.domain.com however.domain.com doesn't use the cookie. hence, i am not logged in at domain.com

.env file contains

SESSION_DOMAIN=.domain.com
0 likes
1 reply
alainbelez's avatar
alainbelez
OP
Best Answer
Level 2

deleted all cookies and restarted the browser fixed this

Please or to participate in this conversation.