Apache...MongoDB(3pm)
π Apache::Session::MongoDB β the manual page, but make it make sense π
okay bestie, gather round, because this is Apache...MongoDB(3pm), a User Contributed Perl Documentation page, and it's lowkey iconic. It's a Perl module, it does one thing, and it does it with MongoDB energy. Let's get into it. π¦
β¨ NAME β¨
Apache::Session::MongoDB β an implementation of Apache::Session. That's it, that's the whole name section, she's simple and she's serving. π
π SYNOPSIS π
okay so here's how you actually use her, fr fr:
use Apache::Session::MondoDB;
# 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',
};
β οΈ bestie, listen. Theuseline literally saysApache::Session::MondoDBand the host literally sayslocahost:27017. Those are exactly how they appear in the original, typos and all, so I'm keeping them verbatim β copy-paste at your own risk, no cap. π
The first tie is the chill version: just point her at your localhost server and let the defaults do their thing. The second one shows you what those defaults actually are β host is locahost:27017, db_name is sessions, and collection is sessions. Main character defaults, honestly. π
πΈ DESCRIPTION πΈ
So what is this? It's an implementation of Apache::Session, periodt. Not a vibe, not a theory β an actual implementation.
The way it works: it uses the MongoDB backing store, and it does no locking. That's the whole personality. No locking means she's fast and free, but also likeβ¦ she is not holding the door for anybody. Keep that in mind, iykyk. π₯
π SEE ALSO π
Apache::Session::MongoDBApache::Session
Go read those too, bestie, they're the extended universe. π
π AUTHOR π
Xavier Guimard, <x.guimard@free.fr>. We stan. π«Ά
π 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.
So like β free software, same terms as Perl itself, Perl 5.10.0 or anything newer you've got lying around. Slay. β¨
and that's the whole page, bestie!! this one came from perl v5.36.0, dated 2022-08-28, and it's filed under the lovingly chaotic manual name Apache...MongoDB(3pm). mwah, go tie some hashes ππ
π¦ where this page comes from
- ubuntu noble: libapache-session-mongodb-perl 0.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapache-session-mongodb-perl 0.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache-session-mongodb-perl 0.23-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms