PHP sessions currupt

Posted by Baversjo on Server Fault See other posts from Server Fault or by Baversjo
Published on 2010-04-28T08:40:46Z Indexed on 2010/04/28 8:43 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

Using symfony framework 1.4 I have created a website. I'm using sfguard for authentication.

Now, this is working great on WAMP (windows). I can login to several accounts on different browsers and use the website.

I have ubuntu server 9.10 running apache (everything up to date and default configuration). On my server, when I login to the website in one browser it works great. When I on my other computer login with another user account on the public website, the login is successful. But when I refresh/go to another page the first user is shown as logged in instead!

Also, when I press logout, It's not showing that I'm logged out after page load. When I press f5 again I'm logged out.

As mentioned, all this works as expected on my local installation. I'm thinking there something wrong with my PHP session configuration on my ubuntu server, but I've never touched it..

Please help me. This is a school project and I'm presenting it today :(

© Server Fault or respective owner

Related posts about php

Related posts about session