Bug#332597: [Pkg-catalyst-maintainers] Bug#332597: Smart session file
choosing
Krzysztof Krzyzaniak
eloy at kofeina.net
Fri Oct 7 19:38:11 UTC 2005
Joachim Breitner wrote:
> Package: libcatalyst-plugin-session-fastmmap-perl
> Version: 0.12-3
> Severity: wishlist
> File: /usr/share/perl5/Catalyst/Plugin/Session/FastMmap.pm
>
> Hi,
>
> it's me again :-)
>
> I was just bitten by the fact that I can start my Catalyst app only
> once, since there is only place for one /tmp/session. I'd suggest that
> libcatalyst-plugin-session-fastmmap-perl should automatically choose a
> suitable session file, preferably not predictably, and allowing for more
> than one instance, so I can run my app in apache as well as with the
> standalone server.
You should use (for example):
YourApp->config->{'session'}->{'storage'} .= ".$$";
eloy
--
-------e-l-o-y-----------e-l-o-y- at -t-r-a-n-s-i-l-v-a-n-i-a-.-e-u-.-o-r-g------
jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej
More information about the Pkg-catalyst-maintainers
mailing list