Skip to content

Commit

Permalink
fixed signature example in the growing guide
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Nov 3, 2012
1 parent fd48356 commit 398d590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Mojolicious/Guides/Growing.pod
Expand Up @@ -109,7 +109,7 @@ Traditionally all session data was stored on the server-side and only session
ids were exchanged between browser and web server in the form of cookies.

HTTP/1.1 200 OK
Set-Cookie: session=base64(hmac-sha1(json($session)))
Set-Cookie: session=hmac-sha1(base64(json($session)))

In L<Mojolicious> however we are taking this concept one step further by
storing everything in C<HMAC-SHA1> signed cookies, which is more compatible
Expand Down

0 comments on commit 398d590

Please sign in to comment.