>>>>> "Edgardo" == Edgardo Szulsztein <[EMAIL PROTECTED]> writes:
Edgardo> Then, I tried to use FileStore, and it worked
Edgardo> fine. However, it stores the sessions files in the /tmp
Edgardo> directory. How could I change the location of the sessions
Edgardo> file in the httpd.conf file?
Good move. Get it working via FileStore, then get the database version
of your session handling going.
As for the session file storage, set the SESSION_FILE_DIRECTORY
variable, and/or use a 'EMBPERL_SESSION_ARGS "Directory=/web/sessions"'.
I threw both into my httpd.conf, which looks like this by the way:
PerlSetEnv EMBPERL_SESSION_CLASS Embperl
PerlSetEnv SESSION_FILE_DIRECTORY /web/sessions
PerlSetEnv EMBPERL_SESSION_CLASSES "FileStore NullLocker"
PerlSetEnv EMBPERL_SESSION_ARGS "Directory=/web/sessions"
PerlSetEnv EMBPERL_COOKIE_PATH "/"
<FilesMatch ".*\.e(pl|html)$">
PerlSetEnv EMBPERL_OPTIONS 16535
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
PerlSendHeader Off
</FilesMatch>
YMMV.
Peace.