hey, it's a patch for Catalyst::Plugin::Session::Store::Cookie. to make cookie_domain more configurable.
__PACKAGE__->config->{session}->{cookie_domain} = sub {
my $c = shift;
if ( $c->req->uri->host =~ /xxx\.com/ ) {
return '.xxx.com';
} else {
return '.yyy.com';
}
};
if it's acceptable, I'll provide a .t for that.
Thanks.
configurable_cookie_domain.diff
Description: Binary data
_______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
