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) using SET 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 by searchOn or 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::Browseable
  • Apache::Session::NoSQL
  • Apache::Session

go read those, iykyk πŸ’œ


  • 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