Apache...nformix(3pm)
π NAME π
Apache::Session::Informix β bestie, it's literally an implementation of Apache::Session. That's the whole vibe. π¦
β¨ SYNOPSIS β¨
okay so here's how you use her:
use Apache::Session::Informix;
#if you want Apache::Session to open new DB handles:
tie %hash, 'Apache::Session::Informix', $id, {
DataSource => 'dbi:Informix:sessions',
UserName => $db_user,
Password => $db_pass,
Commit => 1
};
#or, if your handles are already opened:
tie %hash, 'Apache::Session::Informix', $id, {
Handle => $dbh,
Commit => 1
};
like. pick your lane. either you let Apache::Session open the new DB handles for you, or you roll in with your handles already opened. either way she eats. π
πΈ DESCRIPTION πΈ
so Apache::Session::Informix is an implementation of Apache::Session β no cap. she uses the Informix backing store and no locking. that's just her thing.
if you wanna know more, go look at the example, and also the documentation for Apache::Session::Store::Informix β that's where the details live, iykyk. π
π USAGE π
the special Apache::Session argument for this module is Commit. and listen β you MUST provide the Commit argument. mandatory. non-negotiable. it tells this module to either commit the transaction when it's finished, or to simply do nothing.
why is it like this? because she's considerate. π«Ά this feature is provided so that this module will not have adverse interactions with your local transaction policy, nor your local database handle caching policy. so basically it's there to protect your whole setup from getting messy.
and yes, the argument is mandatory in order to make you think about this problem. not me being dramatic β that's literally the reason. π
this module also respects the LongReadLen argument, which specifies the maximum size of the session object. if you don't specify it, the default maximum is 8 KB. so that's your ceiling, bestie.
π AUTHOR π
this module was written by Jeffrey William Baker <jwbaker@acm.org>. iconic of him honestly. π
π SEE ALSO π
Apache::Session::FileApache::Session::FlexApache::Session::DB_FileApache::Session::PostgresApache::Session
go read them, they're all giving main character energy in their own way. π¦
and that's the whole page, babe β¨ this one shipped as part of the User Contributed Perl Documentation, from perl v5.36.0, dated 2022-11-19. mwah π
π¦ where this page comes from
- debian bookworm: libapache-session-perl 1.94-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libapache-session-perl 1.94-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libapache-session-perl 1.94-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libapache-session-perl 1.94-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libapache-session-perl 1.94-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