I'm currently hosting with Rackspace and have multiple cloud servers. On the main domain, I have a wordpress installation that uses PHP sessions for certain advertisement things.
It has a plugin that also helps sessions along in wordpress. On a subdomain (on the same server), I have a login system that also relies on sessions. It doesn't seem to establish a session at all even when I look in the inspector.
The php.ini's
main directory for sessions is /tmp
, but for this subdomain I have an htaccess
that directs it to /mnt/subfolder/subfolder/
etc. I'm not getting any errors at all, even with errors reporting on.
I have the owner/group set to root:www-data
, and the permissions of every folder are 777 (except for the main /mnt
directory, but everything that falls under it is 777).
Any ideas why sessions just don't work?
I even tried a small 2 page test to start a session. I don't believe it is a code error because it works on other servers. Also, I don't store sessions from the subdomain in /tmp
because it seems to interfere with the plugin and subsequently breaks the sessions I'm using on my wordpress site on the main domain.