OK I stick to PerlModule with this config:
httpd.conf:
PerlModule AxKit
PerlModule Apache::AxKit::Plugin::Session
PerlSetVar AxKitSessionDir /tmp/sessions
<VirtualHost *>
ServerName mydomain.kom
DocumentRoot /home/me
<Location />
AuthType Apache::AxKit::Plugin::Session
AuthName AxKitSession
PerlFixupHandler Apache::AxKit::Plugin::Session->recognize_user
</Location>
<Directory "/home/me">
Options -All +FollowSymLinks
DirectoryIndex index.xsp
AddHandler AxKit .xml .xsp
AxDebugLevel 10
AxNoCache On
AxGzipOutput On
AxCacheDir /tmp
AxLogDeclines On
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::Param
AxAddXSPTaglib AxKit::XSP::Exception
AxAddXSPTaglib AxKit::XSP::WebUtils
AxAddXSPTaglib AxKit::XSP::Session
AxAddStyleMap application/x-xpathscript
Apache::AxKit::Language::XPathScript
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
</Directory>
CustomLog /home/me/LOGFILE combined
ErrorLog /home/me/ERRLOG
</VirtualHost>
This works but no session id is generated. Using the session taglib
<session:get-id/> returns empy string while <session:get-creation-time/>,
</session:set-attribute> etc. work fine - in th current page I can register
variables in the session and remove them. <session:invalidate/> causes this
error message
'Can't call method "delete" on an undefined value at (eval 488) line 19'
which seems reasonable having in mind no session id is genrated for the
session. Also in the session directory no file is created.
Is it possible the problem to be something connectd with the virtual host
directive. Have I put something that should be outside it inside? I'm
missing something but I can't see it. Please give some advice.
Pavel
----- Original Message -----
From: "Jorg Walter" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 11, 2002 8:29 PM
Subject: Re: Session Plugin
> On Thursday, 11. July 2002 19:00, Pavel Penchev wrote:
>
> > <Directory "/myhome">
> [...]
> >
> >
> > PerlModule Apache::AxKit::Plugin::Session
> > AxAddPlugin Apache::AxKit::Plugin::Session
>
> Choose one of these two, not both. I suggest using just the PerlModule
line,
> as that setup is better tested (live in use on several of my sites). IF
you
> choose to keep the PerlModule line, put it outside of any <Directory>,
> <Location> or <Files> section (including the *Match sections).
>
> If you choose to only use the AxAddPlugin line, tell me how it worked out,
I
> would love to hear success reports.
>
> --
> CU
> Joerg
>
> PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc
> PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]