I have two Phalcon projects on my WAMP Server in the www folder:
/www/app1
/www/app2
I'm using the phalcon session bag service to manage users session I used the same service name in these two apps:
//same code for the app1 and app2
$dependencyInjector->set('userSession', function(){
return new \Phalcon\Session\Bag('user');
});
But It seems that this session is shared between these two apps. When I login with the app1, I found myself logged in the app2 !
Is that a bug from Phalcon or because it's the same domain name (https://localhost) so the browser use the same cookie/session ?