logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

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

Description

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

Name

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

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

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',
        };

See Also