Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7182891
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T17:52:01+00:00 2026-05-28T17:52:01+00:00

I am running two applications on my server. The first is a Catalyst app,

  • 0

I am running two applications on my server. The first is a Catalyst app, configured to use the Session / Session::State::Cookie / Session::Store::File 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 or Session::Store::FastMmap?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T17:52:02+00:00Added an answer on May 28, 2026 at 5:52 pm

    Session::Store::File uses Cache::FileCache. Simply instantiate a Cache::FileCache with a cache_root corresponding to where your app puts its session data, then use $cache->get("session:$sessid") to get the session data for a given $sessid, and if you need it, use $cache->get("expires:$sessid") to get the expiry time so that you can ignore a session if its expiration is before time().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two web applications that are running on a single Tomcat server and
Here's the thing: I have two applications, written in C++ and running on two
I have two web applications running in the same Tomcat Instance. In one of
Suppose I have two applications written in C#. The first is a third party
i would like a working example, that uses a asp.net session state server, to
I've got two applications running on two different machines that communicate by sending Serializable
I am writing the code for a server that would help two different applications
I have two applications running on diffrent servers with diffrent DB's. I need to
I have two Jetty AppServers running a Grails Web App behind Apache 2.2 reverse
I have two web applications, which I want to be running under the one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.