I am trying to add a Rails application as a subdirectory of a PHP Zend Framework application. I have configured Apache to use the PHP app as the default and any requests to /myrailsapp
go through the Rails app. Now the only problem is sharing sessions. I understand that I need to start storing the session data in the database so both applications have access to the same session information.
So how do I configure these things in Zend Framework and Rails using Devise so the logged in user can transition seemlessly between the apps?