Sorry to have delayed so long in following this up... At 10/5/02 11:13 PM, Gerald Richter wrote:
Apache::Session and Apache::SessionX are installed. I can run a tiny script that includes "use Apache::Session" and "use Apache::SessionX" and it gives no error messages.> > When I start up Apache, it reports that session support is enabled: > > % apachectl start > [6351]SES: Embperl Session management enabled ()Mmmh, you should see a version number between the braces. DO you have also Apache::Session installed (without the ending X) ?
They were installed using the CPAN module. Using CPAN again, I tried "test Apache::SessionX" and got this, which doesn't seem to contain any error messages:Does make test of Apache::SessionX works?
cpan> test Apache::SessionX
CPAN: Storable loaded ok
Going to read /w1/local/.cpan/Metadata
Database was generated on Mon, 04 Nov 2002 04:24:20 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.duke.edu/pub/perl/authors/01mailrc.txt.gz
Going to read /w1/local/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok
Fetching with LWP:
ftp://ftp.duke.edu/pub/perl/modules/02packages.details.txt.gz
Going to read /w1/local/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Thu, 16 Jan 2003 02:48:12 GMT
Fetching with LWP:
ftp://ftp.duke.edu/pub/perl/modules/03modlist.data.gz
Going to read /w1/local/.cpan/sources/modules/03modlist.data.gz
Going to write /w1/local/.cpan/Metadata
Running test for module Apache::SessionX
Running make for G/GR/GRICHTER/Apache-SessionX-2.00b3.tar.gz
CPAN: Digest::MD5 loaded ok
Checksum for /w1/local/.cpan/sources/authors/id/G/GR/GRICHTER/Apache-SessionX-2.00b3.tar.gz ok
Scanning cache /w1/local/.cpan/build for sizes
x Apache-SessionX-2.00b3, 0 bytes, 0 tape blocks
x Apache-SessionX-2.00b3/SessionX.pm, 17670 bytes, 35 tape blocks
x Apache-SessionX-2.00b3/Makefile.PL, 9153 bytes, 18 tape blocks
x Apache-SessionX-2.00b3/test.pl, 11832 bytes, 24 tape blocks
x Apache-SessionX-2.00b3/MANIFEST, 93 bytes, 1 tape blocks
x Apache-SessionX-2.00b3/SessionX, 0 bytes, 0 tape blocks
x Apache-SessionX-2.00b3/SessionX/Generate, 0 bytes, 0 tape blocks
x Apache-SessionX-2.00b3/SessionX/Generate/MD5.pm, 2685 bytes, 6 tape blocks
x Apache-SessionX-2.00b3/testcount.pl, 727 bytes, 2 tape blocks
x Apache-SessionX-2.00b3/README, 3511 bytes, 7 tape blocks
Removing previously used /w1/local/.cpan/build/Apache-SessionX-2.00b3
CPAN.pm: Going to build G/GR/GRICHTER/Apache-SessionX-2.00b3.tar.gz
Checking configuration...
Storage 'Oracle' is unavailable because DBD::Oracle is not installed on your system
Storage 'Postgres' is unavailable because DBD::Pg is not installed on your system
Storage 'Sybase' is unavailable because DBD::Sybase is not installed on your system
The following ways to store session are available on your system:
- DB_File : DB_File
- File : File, use semaphore for locking
- FileFile : File, use lockfiles
- Mysql : MySQL, use semaphore for locking
- MysqlMysql : MySQL, use MySQL for locking
Found previous configuration. Modify it(y/n) [n]
Using MysqlMysql as default
Checking if your kit is complete...
Looks good
Writing Makefile for Apache::SessionX
mkdir blib
mkdir blib/lib
mkdir blib/lib/Apache
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/Apache
mkdir blib/arch/auto/Apache/SessionX
mkdir blib/lib/auto
mkdir blib/lib/auto/Apache
mkdir blib/lib/auto/Apache/SessionX
mkdir blib/man3
cp SessionX/Generate/MD5.pm blib/lib/Apache/SessionX/Generate/MD5.pm
cp testcount.pl blib/lib/Apache/testcount.pl
cp SessionX.pm blib/lib/Apache/SessionX.pm
cp SessionX/Config.pm blib/lib/Apache/SessionX/Config.pm
Manifying blib/man3/Apache::SessionX::Generate::MD5.3
Manifying blib/man3/Apache::SessionX.3
/usr/ccs/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /w1/local/bin/perl -Iblib/arch -Iblib/lib -I/w1/local/lib/perl5/5.6.0/sun4-solaris -I/w1/local/lib/perl5/5.6.0 test.pl
** Testing configuration 'MysqlMysql': MySQL, use MySQL for locking...
#00 o Open... ok
#01 s No Args... ok
#02 s Lazy... ok
#03 f unknown id... ok
#04 f unknown id... ok
#05 f unknown idfrom... ok
#06 f unknown idfrom... ok
#07 s create_unknown... ok
#08 s Idfrom, create_unknown, id...ok
#09 s Idfrom, create_unknown... ok
#10 s create_unknown, recreate... ok
#11 s newid... ok
#12 s newid, lazy... ok
#13 s newid 2... ok
#14 p Lazy... ok
#15 p create_unknown... ok
#16 p Idfrom, create_unknown, id...ok
#17 p Idfrom, create_unknown... ok
#18 p create_unknown, recreate... ok
#19 p newid... ok
#20 p newid, lazy... ok
#21 p newid 2... ok
#22 c concurrent access...
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 C10 C11 B12 C13 B14 C15 B16 C17 C18 B19 C20 B21 C22 B23 C24 B25 C26 B27 B28 E29 D30 E31 D32 D33 D34 E35 E36 E37 B38 E39 E40 E41 D42 D43 D44 D45 D46 D47 E48 E49
... ok
** 2.572767s
All tests successfull
/usr/ccs/bin/make test -- OK
I added [- $dbgSession=1; -] before the code which uses %udat.
It still doesn't work: doing [- $udat{DatabaseRoleCode} = $value; -] (where $value = 9) doesn't give an error message, but accessing $udat{DatabaseRoleCode} on a subsequent page returns <undefined>.
I don't see any error messages in the log that relate to Session.
> > How do I troubleshoot this? > First make sure the make test of Apache::SessionX works, then you can set dbgSession in the EMBPERL_DEBUG flags and take a look at the embperl.log file for messages about session handling Gerald ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 -------------------------------------------------------------
=================================================
Michael Boudreau
Senior Electronic Publishing Developer
The University of Chicago Press
1427 E. 60th Street
Chicago, IL 60637-2954
phone: 773 753 3298
fax: 773 753 3383
=================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
