[sf-perl] Catalyst question - sharing data between sessions

Stefan Amshey parallax99 at hotmail.com
Wed Mar 25 10:13:21 PDT 2009

Hi all-

I realize that this may not be the best list to ask this question on since it involves a specific Perl technology, but does anyone out there have some experience writing web-apps in Catalyst that could give me a basic point in the right direction regarding the following:

I'm writing a web-app that needs to hold some large data structures, and instead of incurring the cost of loading those structures for each user session we'd like to store them in some context that is shared between sessions and possibly locked/unlocked/synchronized to avoid collisions.  The stash is cleared after every request, and the session object is user-specific.  Is there some concept of a "global session", or can we tie variables to the top-level Catalyst object, or something like that?  Anyone solved this problem before without resorting to writing files?


Stefan Amshey
parallax99 at hotmail.com

Express your personality in color! Preview and select themes for Hotmail®.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/sanfrancisco-pm/attachments/20090325/e1da5e32/attachment.html>

More information about the SanFrancisco-pm mailing list