Hi !!

  I want to know if the wap devices support the sessions used in Cocoons protected 
area sample. It seams to work bad... I can't validate a login...


I am redireted to the login1 page with the wap (not with the conventionnal 
browser)[the * in the match pattern stands for wap or defaut-browser]

      <!-- ========================================= -->
      <!-- Form target which performs auth service   -->
      <!-- ========================================= -->
      <map:match pattern="*/espaceclient/do-login">
        <!-- first validate whether submitted values are ok -->
        <map:act type="form-validator">
          <map:parameter name="descriptor" value="descriptors/params.xml"/>
          <map:parameter name="validate" value="identifiant,motpasse"/>
          <!-- now try to log in -->
          <map:act type="db-authenticator">
            <map:parameter name="descriptor" value="descriptors/auth.xml"/>
            <!-- now go to protected area -->
            <map:redirect-to uri="protected"/>
          </map:act>
        </map:act>
        <!-- something was wrong, try it again -->
        <map:redirect-to uri="login1"/>
      </map:match>


Thanks for help...

Nicolas !!

Cocoon2.0.2 Tomcat4.0.4 JDK1.3.1_03 W2000

---------------------------------------------------------------------
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