I have set up embperl and mod_perl with all modules and trying to use
sessions (with %udat ) but it's not working and I am getting error

[206]SVs:  14954
[206]EVAL> <undefined>
[206]ERR:  24:  Error in Perl code: Can't locate object method "nfreeze" via package 
"Apache::SessionX" (perhaps you forgot to load "Apache::SessionX"?) at 
/usr/lib/perl5/Apache/Session/Serialize/Storable.pm line 21.
[206]SVs:  Entry-SVs: 14803 -OBJs: 18 Curr-SVs: 14955 -OBJs: 22
[206]SRC: Line 7: <html> 


I have modify httpd.conf and I set embperl to
use mysql for storing sessions and NullLock for locking. All modules
(mod-digest, embperl, libwww, Apache-session and SessionX etc) and
apache itself I have compiled.

This is from embperl log file:

[206]ENV:  EMBPERL_SESSION_CLASSES=MySQL Null
[206]ENV:  HTTP_ACCEPT_LANGUAGE=en-us
[206]ENV:  REMOTE_PORT=32772
[206]ENV:  HTTP_USER_AGENT=Mozilla/5.0 (X11; U; Linux 2.4.12 i586; en-US; rv:0.9.1) 
Gecko/20010610
[206]ENV:  HTTP_ACCEPT=text/xml, application/xml, application/xhtml+xml, 
text/html;q=0.9, image/png, image/jpeg, image/gif;q=0.2, text/plain;q=0.8, text/css, 
*/*;q=0.1
[206]ENV:  HTTP_HOST=katastrofa.com
[206]ENV:  GATEWAY_INTERFACE=CGI-Perl/1.1
[206]ENV:  SCRIPT_NAME=/test.html
[206]ENV:  SERVER_NAME=katastrofa.com
[206]ENV:  HTTP_ACCEPT_ENCODING=gzip,deflate,compress,identity
[206]ENV:  MOD_PERL=mod_perl/1.27
[206]ENV:  HTTP_ACCEPT_CHARSET=ISO-8859-1, utf-8; q=0.667, *; q=0.667
[206]ENV:  SCRIPT_FILENAME=/var/www/test/test.html
[206]ENV:  EMBPERL_DEBUG=7081983 
.........
[206]ENV:  EMBERL_SESSION_ARGS=DataSource=dbi:mysql:session UserName=test
[206]ENV:  DOCUMENT_ROOT=/var/www/test

Than I have this for cookies:
[206]MEM:  Alloc 34 Bytes at 082d6700   Allocated so far 1371 Bytes
[206]SES:  Received Cookie ID:   New Cookie ID: 900ee89194110b75ab95e9761ee0332a  User 
data is NOT modified
[206]HDR:  3
[206]HDR:  Content-Length=768

But now cookie have been sent to browser

And this is at the and of log:
[206]PERF: input = /var/www/test/test.html
[206]PERF: Time: 20 ms Evals: 2 Cache Hits: 0 (0%)
[206]Request finished. Sat Jul 13 12:31:56 2002
. Entry-SVs: 14803 -OBJs: 18 Exit-SVs: 14968 -OBJs: 22
[206]MEM: Free buffer for /var/www/test/test.html in HTML::Embperl::DOC::_1


Can anybody help me, pleaseeee. I am quite new to perl:(

Ilic Aleksandar
EESTEC International Vicechair for Web


*************************************
Death is more universal than life: 
everyone dies but not everyone lives




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

Reply via email to