Apache...::Redis(3pm)
π Apache::Session::Browseable::Store::Redis (3pm)
okay so bestie, the manual name is Apache...::Redis(3pm) (that's Perl's cute way of abbreviating it, don't come for me) β and this page is all about Apache::Session::Browseable::Store::Redis, which is, like, an implementation of Apache::Session::Store. Iconic. Let's get into it π«Ά
β¨ NAME β¨
Apache::Session::Browseable::Store::Redis β an implementation of Apache::Session::Store. no cap, that's literally what it is π
πΈ SYNOPSIS πΈ
use Apache::Session::Browseable::Redis;
tie %hash, 'Apache::Session::Browseable::Redis', $id, {
# optional: default to localhost
server => '127.0.0.1:6379',
# optional: set a Redis TTL (in seconds) on session keys
TTL => 86400,
};
okay so you use it, you tie your hash, you pass an $id and a hashref of options β and notice the two commented options in there, server (which defaults to localhost if you're not fussed) and TTL. we'll get to that one π
π¦ DESCRIPTION π¦
This module is an implementation of Apache::Session::Browseable. It uses the Redis storage system. that's the whole vibe: Apache::Session::Browseable energy, but with Redis holding all your stuff πΎβ¨
π OPTIONS π
TTLβ Optional. If it's set, your session keys get stored with a Redis TTL (in seconds) usingSET key value EX ttl. the TTL is refreshed on every update, so it's basically a lil safety net πΈοΈ β if your app forgets to delete a session (we've all been there π), Redis just yeets it automatically when it expires. heads up though: index sets are not expired by Redis, but orphan index entries will get cleaned up bysearchOnor by manual maintenance. so not totally self-cleaning, but close.
Without this option, session keys have no expiration and must be explicitly deleted or purged. no TTL, no auto-cleanup, you're on your own bestie π
π§ SEE ALSO π§
Apache::Session::BrowseableApache::Session::NoSQLApache::Session
go read those, iykyk π
π COPYRIGHT AND LICENSE π
- 2009-2025 by Xavier Guimard
- 2013-2025 by ClΓ©ment Oudot
- 2019-2025 by Maxime Besson
- 2013-2025 by Worteks
- 2023-2025 by Linagora
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.1 or, at your option, any later version of Perl 5 you may have available. fr fr, free as in freedom π
π POD ERRORS π
ngl bestie, the doc had some coding errors of its own, and they're explained right here:
Around line 217:
Non-ASCII character seen before =encoding in 'ClΓ©ment'. Assuming
UTF-8
the Γ© in 'ClΓ©ment' showed up before any =encoding line, so Perl just went "yeah that's probably UTF-8, whatever" π she's doing her best.
<div align="center">πΈ that's a wrap! πΈ</div>
this was perl v5.40.1, dated 2026-05-14, and the header/footer both call it Apache...::Redis(3pm) β mwah, slay, periodt π
β¨π
π¦ where this page comes from
- ubuntu stonking: libapache-session-browseable-perl 1.3.19-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms