Hi
Can anyone give me a clues what I'm missing. With the configuration below I get an
endless redirection in my browser
<Location />
AuthType Apache::AxKit::Plugin::Session
AuthName AxKitSession
PerlFixupHandler Apache::AxKit::Plugin::Session->recognize_user
</Location>
<Directory "/myhome">
Options -All +FollowSymLinks
DirectoryIndex index.xsp
AddHandler AxKit .xml .xsp
AxDebugLevel 10
AxCacheDir /tmp
AxLogDeclines On
PerlModule Apache::AxKit::Plugin::Session
AxAddPlugin Apache::AxKit::Plugin::Session
AxAddXSPTaglib AxKit::XSP::Util
AxAddXSPTaglib AxKit::XSP::Session
AxAddStyleMap application/x-xpathscript Apache::AxKit::Language::XPathScript
AxAddStyleMap application/x-xsp Apache::AxKit::Language::XSP
</Directory>
To call this file:
<?xml version="1.0"?>
<?xml-stylesheet href="NULL" type="application/x-xsp"?>
<xsp:page xmlns:xsp="http://apache.org/xsp/core/v1"
xmlns:session="http://www.apache.org/1999/XSP/Session"
language="Perl"
>
<page>
<session:invalidate/>
SessionID: <xsp:expr><session:get-id/></xsp:expr>
Creation Time: <xsp:expr><session:get-creation-time/></xsp:expr>
(Unix Epoch) <xsp:expr><session:get-creation-time as="string"/></xsp:expr>
<session:set-attribute name="baz">
boo
</session:set-attribute>
<session:set-attribute>
<session:name>foo</session:name>
Planet Bob
</session:set-attribute>
<session:remove-attribute name="foo"/>
</page>
</xsp:page>
I get this in the log:
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] fast handler called
for /index.xsp
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] Running plugin:
Apache::AxKit::Plugin::Session
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] Plugin returned non-OK
value
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] fast handler called
for /index.xsp
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] Running plugin:
Apache::AxKit::Plugin::Session
[Thu Jul 11 18:49:45 2002] [warn] [client 192.168.4.51] [AxKit] Plugin returned non-OK
value
I'm using Apache-AxKit-Plugin-Session-0.92 and AxKit 1.6rc5
10x in advance.
Pavel