Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Managing session between two cakephp app engine

I am working on a project using CakePHP version 1.3, with two app folders, one for English and another one for Spanish.

In some cases, my application depends on session data from English to Spanish and vice versa. How can I get session data from each of these applications in the other one?

like image 790
Neil Avatar asked Nov 11 '22 11:11

Neil


1 Answers

if you're applications are on the same server you can simply create a session variable and access it $_SESSION['globalVariables']

or you can store your data in redis or some sort of cache.

like image 62
Shahin Khani Avatar answered Nov 15 '22 10:11

Shahin Khani