I have been reading around google and the mailing lists all day and to no
avail. I have even read entries from people with exactly the same problem as
myself, but still can't find the answer.
I have set up A:A:P:Session exactly as the Wiki describes and it desn't
work. When I say it doesn't work I mean that it does not send out a cookie
to the browser and therefore no state is being maintained and I get issued a
new session Id for every page request.
I am using:
Apache-AxKit-Plugin-Session-0.99
Apache-Session-1.6
libapreq-1.33
Apache/1.3.33 (Darwin)
AxKit 1.62
mod_perl 1.29
xsltproc -V
Using libxml 20617, libxslt 10111 and libexslt 809
xsltproc was compiled against libxml 20617, libxslt 10111 and libexslt 809
libxslt 10111 was compiled against libxml 20617
libexslt 809 was compiled against libxml 20617
This is what httpd.conf currently looks like:
######
<FilesMatch \.(xml|xsp|rdf)>
# All the standard Axkit bits here
PerlInitHandler Apache::RequestNotes
PerlModule Apache::AxKit::Plugin::Session
PerlSetVar AxKitSessionDir /tmp/sessions
ErrorDocument 403 /redirect?url=/login.xml
AxAddXSPTaglib AxKit::XSP::Session
AxAddXSPTaglib AxKit::XSP::Auth
AxAddXSPTaglib AxKit::XSP::Global
</FilesMatch>
<Location />
AuthType Apache::AxKit::Plugin::Session
AuthName AxKitSession
PerlAuthenHandler Apache::AxKit::Plugin::Session->authenticate
PerlAuthzHandler Apache::AxKit::Plugin::Session->authorize
require valid-user
</Location>
<Location /protected>
require group users
</Location>
######
I tried specifically setting 'PerlSetVar AxKitSessionManager
Apache::Session::File'
I also tried it like 'PerlSetVar AxKitSessionManager
Apache::Session::DB_File'
neither made any difference.
An other problem I had was getting the redirect to work (not that it will be
of any use until the plugin sends cookies). I read that I should add a
section like:
<Location /redirect>
PerlInitHandler Apache::RequestNotes
</Location>
But this did nothing.
I got the BasicSession module working fine. It sends cookies and maintains
state no problems.
Could someone perhaps show me their config from a working installation so I
compare?
Help much appriciated.
Tom
_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today!
http://messenger.msn.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]