Session is not working on remote server

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

flosky
New php-forum User
New php-forum User
Posts: 1
Joined: Wed Mar 14, 2012 6:47 am

Session is not working on remote server

Postby flosky » Wed Mar 14, 2012 6:49 am

Hi everybody,

I am developing a website with the CakePhp 2.0 framework.
On my machine (Fedora 16, apache2, mysql, php5) everything is working fine. I can tell cake to save my session data in the database, so when I want to use load balancing this will still work.
When I upload the project to a test server on the web (Ubuntu 10.4, apache2, php5) there is no session data at all saved to the database. I do have a session cookie though and I can read from and write to database.
I let the php settings untouched. When I check phpinfo(); on both machines everything looks the same. Sessions are definately enabled. The source code is also the same since I just pull it from the central git repo.

Is there anything else that could mess this up?? Read/Write permissions, php settings, database settings???

Any ideas would be greatly appretiated!

Thanks,
flosky

Return to “PHP Installation”

Who is online

Users browsing this forum: No registered users and 0 guests