Hi all; i'm developing the wap part of my own project, but now i'm in a big mess

I use Cocoon2.1, Tomcat 5.016 and Openwave 6.2.2

This is the important part of my sitemap:

                        <map:match pattern="login">
                                <map:generate src="content/login.xml"/>
                                <map:select>
                                        <map:when test="wap">
                                                <map:transform 
src="style/login_wap.xsl"/>
                                                <map:serialize type="wml"/>
                                        </map:when>
                                        ...
                                </map:select>
                        </map:match>

                        <map:match pattern="begin">
                                <map:act type="auth-protect">
                                        <map:parameter name="handler" 
value="navigation"/>
                                        <map:generate type="serverpages" 
src="xsp/begin.xsp"/>
                                        <map:select>
                                                <map:when test="wap">
                                                        <map:transform 
src="style/begin_wap.xsl"/>
                                                        <map:serialize type="wml"/>
                                                </map:when>
                                                ...
                                        </map:select>
                                </map:act>
                        </map:match>
                        
                        <map:match pattern="mcnavigator">
                                <map:act type="auth-protect">
                                        <map:parameter name="handler" 
value="navigation"/>
                                        <map:parameter name="use-request-parameters" 
value="true"/>
                                        <map:generate type="serverpages" 
src="xsp/mcnavigator.xsp"/>
                                        <map:select>
                                                <map:when test="wap">
                                                        <map:transform 
src="style/mcnavigator_wap.xsl"/>
                                                        <map:serialize type="wml"/>
                                                </map:when>
                                                ...
                                        </map:select>
                                </map:act>                        
                        </map:match>

So, my first page is login; after the authentication i'm sent to begin; In begin i have to fill a text area..then i should go to the mcnavigator pipelin (using normal html it works) but... i'm redirected to login;I noticed that if i delete the <map:act type="authoprotect"> and all other authentication related elements in the mcnavigator pipeline it works, but it's not possible for me.
It seems i loose the session... but i don't know...


Can anyone out there help me??

Best Regards, Davide


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



Reply via email to