Same Problem here with the Session-validator.

Currently Im working with: Tomcat 4.0.4b, Cocoon 2.0.2 and JDK1.4, also
the avalon-excalibur-20020506.jar Patch for the Database-Connection
Problems with SDK 1.4.

DB-Auth is working, but the Session-validator doesnt execute perperly.
The core.log will gives the correct Session variables out, here some
code-snipps:

Sitemap:
----------------------------
<map:action name="sessval"
src="org.apache.cocoon.acting.SessionValidatorAction"/>
                </map:actions>
...
<map:match pattern="*/*.xsp">
                                <map:act type="sessval">
                                        <map:parameter name="descriptor"
value="context://mount/sascha/validate.xml"/>
                                        <map:parameter name="validate"
value="username"/>
                                        <map:generate
src="xsp/forum.xsp" type="serverpages"/>
                                        <map:transform
src="templates/forumlist.xsl"/>
                                        <!--
                                        <map:generate
src="xsp/{../2}.xsp" type="serverpages"/>
                                        <map:transform
src="templates/{../1}.xsl"/>
                                        -->
                                        <map:serialize type="html"/>
                                </map:act>
                                <map:generate src="xml/hello.xml"/>
                                <map:transform
src="templates/htmloutput.xsl"/>
                                <map:serialize type="html"/>
                                <!--<map:redirect-to uri="login"/>-->
                        </map:match>

Validate.xml
-----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<root>
        <parameter name="username" type="string" nullable="no"/>
</root>

Any idea ?

Thanks,

Sascha


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to