I use Embperl 1.2.1 under mod_perl. Apache::Session is installed.

I've set up session handling in httpd.conf as follows:

PerlSetEnv EMBPERL_SESSION_CLASSES "File File"
PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/tmp/session/store 
LockDirectory=tmp/session/lock"

When I restart httpd the error log says OK:

[Thu Jul 20 20:25:06 2000] [notice] SIGHUP received.  Attempting to restart
[Thu Jul 20 20:25:06 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24 configured -- 
resuming normal operations

However, when I run a test page that puts a value in %udat the following is logged:

[6459]SES:  Embperl Session management enabled (1.xx)
[Thu Jul 20 20:25:29 2000] [error] [6459]ERR:  24: Line 21: Error in Perl code: Can't 
locate object method "generate_id" via package "HTML::Embperl::Session" at
/usr/lib/perl5/site_perl/5.005/i386-linux/HTML/Embperl/Session.pm line 184.
[Thu Jul 20 20:25:29 2000] [error] Can't call method "acquire_write_lock" on an 
undefined value at /usr/lib/perl5/site_perl/5.005/Apache/Session.pm line 546.

What is this method generate_id? Looking through Apache::Session, I found a "generate" 
method,
but not "generate_id".

ANY guidance will be appreciated.

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

Reply via email to