Catalyst-Plugin-Session-Store-Cookie
view release on metacpan or search on metacpan
README.mkdn view on Meta::CPAN
beware.
In any case if all you are putting in the session is a user id and a few basic
things this will probably be totally fine and likely a lot more sane that using
something non persistant like memcached. On the other hand if you like to dump
a bunch of stuff into the user session, this will likely not work out.
**NOTE** Since we need to store all the session info in the cookie, the session
state will be set at ->finalize\_headers stage (rather than at ->finalize\_body
which is the default for session storage plugins). What this means is that if
you use the streaming or socket interfaces ($c->response->write, $c->response->write\_fh
and $c->req->io\_fh) your session state will get saved early. For example you
cannot do this:
$c->res->write("some stuff");
$c->session->{key} = "value";
That key 'key' will not be recalled when the session is recovered for the following
request. In general this should be an easy issue to work around, but you need
to be aware of it.
lib/Catalyst/Plugin/Session/Store/Cookie.pm view on Meta::CPAN
beware.
In any case if all you are putting in the session is a user id and a few basic
things this will probably be totally fine and likely a lot more sane that using
something non persistant like memcached. On the other hand if you like to dump
a bunch of stuff into the user session, this will likely not work out.
B<NOTE> Since we need to store all the session info in the cookie, the session
state will be set at ->finalize_headers stage (rather than at ->finalize_body
which is the default for session storage plugins). What this means is that if
you use the streaming or socket interfaces ($c->response->write, $c->response->write_fh
and $c->req->io_fh) your session state will get saved early. For example you
cannot do this:
$c->res->write("some stuff");
$c->session->{key} = "value";
That key 'key' will not be recalled when the session is recovered for the following
request. In general this should be an easy issue to work around, but you need
to be aware of it.
( run in 0.247 second using v1.01-cache-2.11-cpan-4d50c553e7e )