# Sharing session variables between apps

**URL:** <https://www.ruby-forum.com/t/sharing-session-variables-between-apps/108485>\
**Category:** Rails\
**Created:** [July 3, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/sharing-session-variables-between-apps/108485 "2007-07-03T23:58:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 3, 2007, 11:58pm UTC](https://www.ruby-forum.com/t/sharing-session-variables-between-apps/108485/1 "2007-07-03T23:58:45Z")

</div>

Hey everyone,  
I have two Rails applications on a production server. I’d like to  
share session variables between them (mostly for authentication  
purposes). Since both apps are using the database for sessions, I’m  
thinking this should be possible. Anyone know how this could be done?  
Thanks!

August
