Skip to content

Commit

Permalink
do not link to Mojolicious::Sessions from Mojolicious::Controller
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Aug 24, 2012
1 parent c1c346c commit 9725949
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Mojolicious/Controller.pm
Expand Up @@ -897,9 +897,9 @@ timeout, which usually defaults to C<15> seconds.
$c = $c->session({foo => 'bar'});
$c = $c->session(foo => 'bar');
Persistent data storage managed by L<Mojolicious::Sessions>, all session data
gets serialized with L<Mojo::JSON> and stored in C<HMAC-SHA1> signed cookies.
Note that cookies usually have a 4096 byte limit, depending on browser.
Persistent data storage, all session data gets serialized with L<Mojo::JSON>
and stored in C<HMAC-SHA1> signed cookies. Note that cookies usually have a
4096 byte limit, depending on browser.
# Manipulate session
$c->session->{foo} = 'bar';
Expand Down

0 comments on commit 9725949

Please sign in to comment.