Gerald,

Here's what's showing up in my Apache Error log now that I have
upgraded from 1.2.1 to 1.3.1:

Cannot require Apache::Session::Store::DBIStore at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm line 204.

I have all of the required files installed, however it seems like your
Session.pm
module is looking in the wrong/different place.  After looking at the line
of code
referenced in the above message, I notice that your program is looking for
DBIStore
to be in the Store directory, however, I have it in the Session directory (1
level up).
The same is true for the next couple of eval statements in your version of
Session.pm
Here is the code:


    # check Store, Lock, Generate, Serialize classes (Apache::Session 1.5x)

    if ($args -> {'Store'})
        {
        $args -> {'Store'} = "Apache::Session::Store::$args->{'Store'}" if
(!($args -> {'Store'} =~ /::/)) ;
        eval "require $args->{'Store'}" ;
        die "Cannot require $args->{'Store'}" if ($@) ;
        }

    if ($args -> {'Lock'})
        {
        $args -> {'Lock'} = "Apache::Session::Lock::$args->{'Lock'}" if
(!($args -> {'Lock'} =~ /::/)) ;
        eval "require $args->{'Lock'}" ;
        die "Cannot require $args->{'Lock'}" if ($@) ;
        }

    if ($args -> {'Generate'})
        {
        $args -> {'Generate'} =
"Apache::Session::Generate::$args->{'Generate'}" if (!($args -> {'Generate'}
=~ /::/)) ;
        eval "require $args->{'Generate'}" ;
        die "Cannot require $args->{'Generate'}" if ($@) ;
        }

    if ($args -> {'Serialize'})
        {
        $args -> {'Serialize'} =
"Apache::Session::Serialize::$args->{'Serialize'}" if (!($args ->
{'Serialize'} =~ /::/)) ;
        eval "require $args->{'Serialize'}" ;
        die "Cannot require $args->{'Serialize'}" if ($@) ;
        }
    }

Since I upgraded, I notice that Embperl is no longer storing records in the
sessions table, so I wonder how %udat can
still be working.

Should I not be using Apache::Session 1.53?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to