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.

Did you know?Explore Trending and Topic pages for more stories like this.
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

column name cancatenation within PL/SQL
I have a PLSQL store procedure, and the following statement is part of a subquery
fname||lnam

use an array from 1 class in a second class
I have a class that adds data to an array

Then I have a second class and I need to check if t

Array help
Hello i got this code to fetch data from database but it is not working it displays
7
Array

Help Ordering Arrays
Hi, I have 3 arrays as shown below.

Code: $users = $this->get_latest_users();
$flir

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

Why do I get this error
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/a5488351/public_html/b

WHYISNT THIS MYSQL STATEMNT NOT WORKING? (php)
caps because its absolutely rediculous.
i dontunderstand why its not working. there is a column c

problem with script manager
Hi iam using Net.2005.I have created ajax enabledwebsite.i have master page in which i have script m

php is not recognized as an internal or external command
Hello,

I am trying to bake the code in CakePHP through my console.
I have changed my Path

Help to integrate whois Domain Details to website
Hi,

can i know is their any php script r methods to add domain details to my website.

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