Scroll to navigation

Apache::Session::MongoDB(3pm) User Contributed Perl Documentation Apache::Session::MongoDB(3pm)

NAME

Apache::Session::MongoDB - An implementation of Apache::Session

SYNOPSIS

 use Apache::Session::MongoDB;
 
 # Using localhost server
 tie %hash, 'Apache::Session::MongoDB', $id, {};
  
 # Example with default values
 tie %hash, 'Apache::Session::MongoDB', $id, {
    host       => 'locahost:27017',
    db_name    => 'sessions',
    collection => 'sessions',
 };

DESCRIPTION

This module is an implementation of Apache::Session. It uses the MongoDBbacking store and no locking.

PARAMETERS

You can set the followong parameters host, db_name, collection, auth_mechanism,auth_mechanism_properties, connect_timeout_ms, ssl, username and password.See MongoDB for more

SEE ALSO

MongoDB, Apache::Session

AUTHOR

Xavier Guimard, <x.guimard@free.fr>

COPYRIGHT AND LICENSE

Copyright (C) 2015-2016 by Xavier Guimard, <x.guimard@free.fr>

This library is free software; you can redistribute it and/or modifyit under the same terms as Perl itself, either Perl version 5.10.0 or,at your option, any later version of Perl 5 you may have available.

2022-08-28 perl v5.34.0