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

Bill Moseley moseley at hank.org
Wed Mar 25 17:00:23 PDT 2009

On Wed, Mar 25, 2009 at 10:34:25AM -0700, Stefan Amshey wrote:
> Actually, I was merely stating fact that the stash is cleared after
> every request.  I also understand the concept of a user session, but
> what I'm looking for is a way of sharing data between users, each of
> whom is involved in a separate session, but concurrently.  I'm not
> worried about clearing the data out, only sharing it so that we
> don't have to re-load it for each session.

Sounds like caching.

You can use one of the cache plugins and then:

    $c->cache->set( $key, $value, $expires );

Bill Moseley.
moseley at hank.org
Sent from my iMutt

More information about the SanFrancisco-pm mailing list