Sharing CakePHP session with another app

This question pops up once in a while: “How do I share session data with a third-party application?”

Thankfully the answer is pretty simple, just make sure that the session (cookie) name is the same for both apps.
In CakePHP it’s set in the core.php… Configure::write(‘Session.cookie’, ‘CAKEPHP’);

%d bloggers like this: