Linux SESSION reset constantly
Posted on 2013-12-27
I did some mess with one of my Ubuntu 12.04 LTS servers by upgrading too much (obviously). In one night I installed (with having backup, of course):
- MySQL from 5.1 to 5.5
- PHP minor version upgrade
- memcache & memcached
From there on I have problems with SERVER SESSIONS.
PHP does not recognise session ID and creates new Session for each click, POST or GET on every page. So, for example, trying to login into Joomla is not possible. Also forums, Wordpress....any login is not possible due to this SESSION problem.
I also tried to set
$session_store = "database"
but sessions get reset and created over and over again also in database.
So, it is NOT a problem of:
- user or browser
- session store path
But it IS A PROBLEM most obviously in a mechanism, how PHP identifies visitor as existing visitor, so he/she can access existing server-side SESSION. As PHP does not properly identify visitor, he treats each click like a new visitor and creates session for him.
I already removed all accelerators, caches and mod_pagespeed.
No errors in apache logs.
Any idea what could be wrong?