See the forwarded message below, which solves the persistence problem
perfectly. :-)
Lesson:
(1) If Embperl session management is working, it will say so. I actually
saw the message in error_log:
[Fri May 19 20:47:33 2000] [notice] SIGHUP received. Attempting to restart
[Fri May 19 20:47:33 2000] [notice] Apache/1.3.12 (Unix) mod_perl/1.24
configured -- resuming normal operations
[26799]SES: Embperl Session management enabled (1.xx)
(2) The key lies in correct settings of (a) Basic embperl settings -- does
embperl work at all? And (b) correct setting of EMBPERL_SESSION_CLASSES
and EMBPERL_SESSION_ARGS. If you wish to use a database to store session
info, read Apache::Session::DBIStore. If you wish to use a file, look at
the FileStore.pm module (which doesn't seem to contain any documentation;
however, Cliff gives an example of how to use it below).
steve
>Date: Fri, 19 May 2000 15:30:24 -0700
>From: ___cliff rayman___ <[EMAIL PROTECTED]>
>Organization: General Wax, Inc.
>X-Mailer: Mozilla 4.73 [en] (Win95; U)
>X-Accept-Language: en
>To: "Steven D. Arnold" <[EMAIL PROTECTED]>
>Subject: Re: more udat persistence issues
>
>Yes - you have to set session args:
>
>$ grep startup.pl httpd.conf
>PerlRequire /usr/local/apache/conf/startup.pl
>
>$ cat /usr/local/apache/conf/startup.pl/startup.pl
>BEGIN {
>$ENV{EMBPERL_SESSION_CLASSES} = "FileStore SysVSemaphoreLocker";
>$ENV{EMBPERL_SESSION_ARGS} = "Directory=/tmp/sessions";
>}
>use Apache::Session::Embperl;
>use HTML::Embperl;
>
>
>1;
>
>--
>___cliff [EMAIL PROTECTED]
--
Steven D. Arnold Que quiero sera [EMAIL PROTECTED]
"We choose to go to the moon in this decade and do the other things, not
because they are easy, but because they are hard." -- John F. Kennedy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]