I have worked, whith this session object, in mod_perl

    my %session = ();
    
    tie %session, 'Apache::Session::Postgres', $id, {
        
        DataSource => 'dbi:Pg:dbname=sessions',
        UserName => 'canis',
        Password => '',
        Commit => 1
        };

and i can restore all my objects that i put in it.
but when i try to put a new object or something...

my $something = new Object();
$session{something} = $something;

... i have an error like this:

[Wed Oct 20 18:21:55 2004] null:        (in cleanup) Can't store CODE items at
../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line
287, <FORM
A> line 280, at /usr/share/perl5/Apache/Session/Serialize/Base64.pm line 22

It seems that i can't update the database.

Coul you help me? thank you.



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to