I am running two applications on my server. The first is a Catalyst app, configured to use the [`Session`](http://search.cpan.org/perldoc?Catalyst%3a%3aPlugin%3a%3aSession) / [`Session::State::Cookie`](http://search.cpan.org/perldoc?Catalyst%3a%3aPlugin%3a%3aSession%3a%3aState%3a%3aCookie) / [`Session::Store::File`](http://search.cpan.org/perldoc?Catalyst%3a%3aPlugin%3a%3aSession%3a%3aStore%3a%3aFile) suite of plugins to save some session state on the server side.

The other app is in Perl, but it's not Catalyst. I want the server-side session data from the Catalyst app to be available to the other app.

In the second app, I can load the client-side cookies and find the relevant session id for the Catalyst app, but after that I'm stuck. I don't know how to map the session id to a file name. For example, I have a session id `de079f151917d184219ef357f5298d0da478e015`, but the data for that session is only found in a file named `fc1f6f651a2313c4081bcfef679061be35de40b7`. How is the non-Catalyst app supposed to know how to find that file? (My follow up question would be how is the non-Catalyst app supposed to read that file, but I can cross that bridge when I get to it).

Is there an easier way to do this with a different storage scheme like [`Session::Store::DBIC`](http://search.cpan.org/perldoc?Catalyst%3a%3aPlugin%3a%3aSession%3a%3aStore%3a%3aDBIC) or [`Session::Store::FastMmap`](http://search.cpan.org/perldoc?Catalyst%3a%3aPlugin%3a%3aSession%3a%3aStore%3a%3aFastMmap)?