I just migrated my app to appfog. I store the session info in the database. But the session is lost after page refresh or on redirect. I am using cakephp 2.2.3, the app works fine on local machine and namecheap servers. On Appfog, I deleted all stored sessions in session table in database. So when I login a new records are created. When session info is available onlogin, but is lost on refresh or on redirect.
I appreciate any help.
in your core.php you have to set your session.start to true
Configure::write('Session.start', true);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With