Sharing session between two rails app


I have two different rails app in the development environment, app1 and
app2. I would like to share the sessions between them but it seems to me
that it can only be done in production environment. As I am not done
with my apps is there a way I could do this so i can test things that it
works before going to production mode?

How can i do this?