info > Apache::Session::Oracle

📖 NAME

Apache::Session::Oracle - An implementation of Apache::Session

🚀 Quick Reference

Use CaseCommand/CodeDescription
🆕 New DB handlestie %hash, 'Apache::Session::Oracle', $id, { DataSource => 'dbi:Oracle:sessions', UserName => $db_user, Password => $db_pass, Commit => 1 }Opens new DB handles and ties the session hash
🔗 Existing DB handletie %hash, 'Apache::Session::Oracle', $id, { Handle => $dbh, Commit => 1 }Uses an existing database handle
📏 Session size limitLongReadLen => $bytesSpecifies the maximum size of the session object (default: 8 KB)

📝 SYNOPSIS

use Apache::Session::Oracle;

#if you want Apache::Session to open new DB handles:

tie %hash, 'Apache::Session::Oracle', $id, {
   DataSource => 'dbi:Oracle:sessions',
   UserName   => $db_user,
   Password   => $db_pass,
   Commit     => 1
};

#or, if your handles are already opened:

tie %hash, 'Apache::Session::Oracle', $id, {
   Handle => $dbh,
   Commit => 1
};

📚 DESCRIPTION

This module is an implementation of Apache::Session. It uses the 🗄️ Oracle backing store and 🔓 no locking. See the example, and the documentation for Apache::Session::Store::Oracle for more details.

⚙️ USAGE

📌 The special Apache::Session argument for this module is Commit. ⚠️ You MUST provide the Commit argument, which instructs this module to either commit the transaction when it is finished, or to simply do nothing. 💡 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. 🤔 The argument is mandatory in order to make you think about this problem.

📏 This module also respects the LongReadLen argument, which specifies the maximum size of the session object. 📦 If not specified, the default maximum is 8 KB.

👤 AUTHOR

✍️ This module was written by Jeffrey William Baker <jwbaker AT acm.org>.

🔗 SEE ALSO

Apache::Session::Oracle
📖 NAME 🚀 Quick Reference 📝 SYNOPSIS 📚 DESCRIPTION ⚙️ USAGE 👤 AUTHOR 🔗 SEE ALSO

Generated by phpman v4.9.26-5-g7740029 Author: Che Dong Under GNU General Public License
2026-08-14 21:53 @2600:1f28:365:80b0:4d23:66fa:c2bb:7bae
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 Transitional!Valid CSS!