From: Brian Cassidy Date: Thu, 22 Dec 2005 20:50:22 +0000 (+0000) Subject: added '_session' to cookie name X-Git-Tag: v0.02~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Plugin-Session-State-Cookie.git;a=commitdiff_plain;h=ae33e13f7358be30696b7b24bc396982efc94040;hp=c702e4cad3a7fd162125607fe4ff0c491d80e3a1 added '_session' to cookie name --- diff --git a/lib/Catalyst/Plugin/Session/State/Cookie.pm b/lib/Catalyst/Plugin/Session/State/Cookie.pm index 15f8c81..b0376b3 100644 --- a/lib/Catalyst/Plugin/Session/State/Cookie.pm +++ b/lib/Catalyst/Plugin/Session/State/Cookie.pm @@ -12,7 +12,7 @@ sub setup_session { my $c = shift; $c->NEXT::setup_session(@_); - $c->config->{session}{cookie_name} ||= Catalyst::Utils::appprefix( $c ); + $c->config->{session}{cookie_name} ||= Catalyst::Utils::appprefix( $c ) . '_session'; } sub finalize_cookies { @@ -128,7 +128,7 @@ Will set the C parameter to it's default value if it isn't set. =item cookie_name -The name of the cookie to store (defaults to C). +The name of the cookie to store (defaults to C). =item cookie_domain