User Contributed Perl Documentation
Apache::Session::Serialize::Sybase - Use Storable to zip up persistent data and unpack/pack to put into Sybase-compatible image field
| Use Case | Command | Description |
|---|---|---|
| Serialize session data for Sybase IMAGE field | serialize($ref) |
Zips up the data reference using Storable and packs it into Sybase-compatible format |
| Unserialize session data from Sybase IMAGE field | unserialize($zipped) |
Unpacks and extracts the original data reference |
Use with Apache::Session::Sybase |
automatic | All serialization and quoting is handled transparently; no need to quote values or use placeholders with DBI::Sybase |
use Apache::Session::Serialize::Sybase;
$zipped = Apache::Session::Serialize::Sybase::serialize($ref);
$ref = Apache::Session::Serialize::Sybase::unserialize($zipped);
This module fulfills the serialization interface of Apache::Session by taking the data from Apache::Session::Serialize::Storable and modifying it to work with Sybase IMAGE fields. Note that you do not need to quote these values before inserting into the database, and that if you are using DBI::Sybase, you cannot use the data in a placeholder. If you use Apache::Session::Sybase as your session class, this will all get taken care of.
Apache::Session::Serialize::Storable was written by Jeffrey William Baker <jwbaker AT acm.org>; the Sybase-specific data manipulation was written by Mark Landry <mdlandry AT lincoln.com> for use in an earlier version of Apache::Session::DBI::Sybase and placed here by Chris Winters <chris AT cwinters.com>.
Apache::Session::Serialize::Storable, Apache::Session::Sybase
perl v5.30.3 2020-09-20 Apache::Session::Serialize::Sybase(3pm)
Generated by phpman v4.9.29 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-22 04:11 @2600:1f28:365:80b0:8802:8bb4:3873:328e
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format