[Catalyst] Plugin::Session lazy start

Dag-Erling Smørgrav des at des.no
Wed May 23 14:51:29 GMT 2012

Dag-Erling Smørgrav <des at des.no> writes:
> Thanks, that's a neat workaround (combined with unlink_on_exit).

I was wrong about that last bit - unlink_on_exit automatically defaults
to a sane value (unlink the file if you created it, leave it alone if it
already existed).  If anything, you'd want to set it to 0 so sessions
are persistent across server restarts.

BTW, this is not a perfect solution, since all processes owned by the
same user will now share a session cache.  However, this should rarely
(if ever) be a problem.

Dag-Erling Smørgrav - des at des.no

More information about the Catalyst mailing list