Apache-Session-MongoDB
view release on metacpan or search on metacpan
t/Apache-Session-MongoDB.t view on Meta::CPAN
),
'Access to previous session'
);
ok( $h2{some} eq 'data', 'Find data' );
ok( $h2{utf8} eq 'éà èÅ', 'UTF string' );
ok( $h2{'dotted.key'} eq 'test', 'Dotted key' );
ok( $h2{'dollar$key'} eq 'test', 'Dollar key' );
Apache::Session::MongoDB->get_key_from_all_sessions($args);
#binmode(STDERR, ":utf8");
#print STDERR $h2{utf8}."\n";
# Create a few sessions to test deleteIfLowerThan
my @delSessions;
push @delSessions,
newsession( $args, type => "persistent", ttl => 100 ),
newsession( $args, type => "persistent", ttl => 10 ),
newsession( $args, type => "temporary", ttl => 100 ),
newsession( $args, type => "temporary", ttl => 10 ),
newsession( $args, type => "temporary", ttl => 100, actttl => 10 ),
( run in 0.427 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )