So after spending several hours ripping my hair out I finally realized the issue with my sessions. The session data was being written but the server was "silently" starting 2 sessions.
1) Firs session for all pages that are in the www.domain.com
2) And another one for just domain.com
How can I consolidate the 2 sessions and be sure that regardless of "www" or not, I am pulling the same session?
Thank you! Appreciate all help.
Considering that www is practically a subdomain (to public readers: correct me if I am wrong), then maybe you can find useful information here:
Allow php sessions to carry over to subdomains
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.