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

sendmail code suddenly not working
Hi Guys, I maintain 3 sites (including my own) I use the following code from a french webmaster that

Display search result
Hi!

I have a SQL database with information about albums and track (music).

This is wh

dropdown menu
Hello everbody,

I am php newbie.
I need to develop a program that once click the drop do

Add "width" check when upload
Hi!

Can someone add a function that is checking if picture witdh is bigger then 800px whwn up

PHP doesn't send my mail
Hi all, I found this and used it to send mail. Simple contact form with some required fields. The va

Content-Disposition: attachment; filename=... not working as i thought it should
taken the following code from the php.net site the script is not working.

what is not happeni

Search in the PHP Files
have to search asterisk(*) in the php code of the php files .
In the html page one text box

Take info from one coloum and move to another
Hi all,

I have this:
Code: [Select]$array = "SELECT stock_id FROM stocks WHERE stock_

Delete all from a table
I can not get the following code to work. If I run the sql statement in the db it will delete all t

IIS & NW MII on the same server
Hi,

We're weighing the possibility to run both IIS and MII (NetWeaver) on the same server

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