Sharing PHP Sessions Across Domains

Posted on 16th Feb 2014 by admin

I am in the process of writing a script to share a php session across various domains I have.
The problem I have, is getting php to access the php session. It gives me a persmission error. It seems the session is being created with chmod 0600 which does not allow the other domains to access the session data.
When I manually chmod it to 0777 the session data can be retrieved across my domains.

Is there a way (maybe in php.ini) to change the permissions the sessions are given?

Thanks

Other forums