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 MongoDB backing 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 modify it 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.