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

kekekiw123's avatar

Laravel valet when I log in session cookie is not set for www. domain

I have my Laravel app setup with valet. When I login into https://example.com then go to https://www.example.com (with www) I am not logged in. It seems the session cookie is not set for the entire domain. Why is that?

I have also run the valet secure command if that matters

0 likes
1 reply

Please or to participate in this conversation.