Session variable still available after remove with memcache

Hello, we are using a phalcon application in a loadbalanced environment of multiple webservers NGINX with PHP7. In order to have the session data available on each server, we store them in memcache using the phalcon adapter. as example we use the following script to set and remove data. For the database access a Redis is also in place.

$options = array( 'host' =>, 'port' => 11211, 'persistent' => true, 'lifetime' => 1440, 'prefix' => 'n_' );

$session = new \Phalcon\Session\Adapter\Memcache($options);

$session->set('tmp', 'Beispielwert');

echo $session->get('tmp');


However when we remove the <tmp> variable on the Server A, Server B is still able to access the data, so can get the value for tmp.

I've searched the web on any hints but haven't found anything.

Has anyone of you heard from a case like this?

many thanks


Have you tried with raw PHP to simulate same issue?


No not so far as my colleagues only want to use the framework for this.