Apache2-WebApp-Plugin-Session-Memcached
view release on metacpan or search on metacpan
lib/Apache2/WebApp/Plugin/Session/Memcached.pm view on Meta::CPAN
178179180181182183184185186187188189190191192193194195196197198
return
;
}
#----------------------------------------------------------------------------+
# update(\%controller, $name, \%data);
#
# Takes the cookie unique identifier or session id as arguments. Updates
# existing session data.
sub
update {
my
(
$self
,
$c
,
$name
,
$data_ref
)
= validate_pos(
@_
,
{
type
=> OBJECT },
{
type
=> HASHREF },
{
type
=> SCALAR },
{
type
=> HASHREF }
);
$self
->error(
'Malformed session identifier'
)
unless
(
$name
=~ /^[\w-]{1,32}$/);
( run in 0.225 second using v1.01-cache-2.11-cpan-0f795438458 )