---
name: "Apache::Session::MongoDB"
section: "3pm"
platform: "linux"
package: "libapache-session-mongodb-perl"
version: "0.23-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Apache::Session::MongoDB"
---

# Apache::Session::MongoDB(3pm)

An implementation of Apache::Session

## 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.
