John Goulah > Catalyst-Plugin-DebugCookie-0.999004 > Catalyst::Plugin::DebugCookie::Util

Download:
Catalyst-Plugin-DebugCookie-0.999004.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Catalyst::Plugin::DebugCookie::Util - Utility class to handle abstracting the cookie get/set

DESCRIPTION ^

These methods provide an interface for creating the debug cookie, and also checking it later for when a page is hit with the 'is_debug' query parameter

make_debug_cookie($c, $username)

Creates a debug cookie with a hash of your secret key and username

check_debug_cookie_value($c, $username)

Checks the debug cookie and verifies the value matches the hash of your secret key and username

AUTHOR ^

 John Goulah       <jgoulah@cpan.org>

COPYRIGHT ^

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: