Sharing PHP Sessions Across Domains


Posted on 16th Feb 2014 07:03 pm 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

No comments posted yet

Your Answer:

Login to answer
253 Like 20 Dislike
Previous forums Next forums
Other forums

BI in Upstream Production operations
Appreciate if you can assist in the following areas:
1) Examples of life before and after BI i

Variable uses and placement
I'm new to PL/SQL and am trying to learn about variable valid uses/placement (any pointers to any do

Problem with an browser game.
Hello,i just joined that great forum and i got php prob,its kinda freaky...anyway i got browser game

user administration
Dear @all,

what I have to do to set the user defaults for new users. At the moment I woul

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

How to set pass login name from htaccess to php
When the user logs into my members page via htaccess, I'd like to retain the username so that I can

Need Successful Return
Hello I am currently working a form here, and I have everything figured out except when I click the

IDOC error
Hi, When i send IDOC from ECC system to MII there is no problem ECC side, i says message sent succe

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules t

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash