Hi monks,
Just started experimenting with Apache::Session::File and I'm getting a wierd error. I can create a file, as per the docs:
my %session;
tie %session, 'Apache::Session::File', undef,{
Directory => '/tmp/sessions',
LockDirectory => '/tmp/lock/sessions',
};
but when I come to retrieve it again, like this:
tie %session, 'Apache::Session::File', $sesh_id, {
Directory => '/tmp/sessions',
LockDirectory => '/tmp/lock/sessions',
};
I get the error:
Storable binary image v2.6 more recent than I am (v2.5) at ../../lib/S
+torable.pm (autosplit into ../../lib/auto/Storable/thaw.al) line 358,
+ <GEN0> line 2, at /home/bsm/johnston/casspm/lib/perl5/site_perl/5.8.
+1/Apache/Session/Serialize/Storable.pm line 27
I tried googling, but the only suggestion I found was to delete the store and start again. Which I did to no avail. I'm on a dial-up connection and am rapidly running out of patience. If someone could tell me how to fix this, it'd be great, but I'd settle for someone just explaining what the error means in English. What am I doing wrong?
Cheers,
Cass
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.