Hi Michel, let me know, are you sure that the value that you pass to the connectiondb are correct? The db works properly? Seems are stupid question but I spend some time with same problem, but the real problem was that I couldn't connect to the db & I realize that only when I check the log file.
Regards Roberto ----- Original Message ----- From: "Michel Erard" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, April 21, 2005 10:39 AM Subject: form reopens same page > Hello, > > I'm making some tests with the authentication framework. Now I have a > problem with the login form: > > <form target="do-login" method="POST"> > <table> > <tr> > <td> > <i18n:text>USERNAME</i18n:text> > </td> > <td> > <input type="text" name="userid"/> > </td> > </tr> > <tr> > <td> > <i18n:text>PASSWORD</i18n:text> > </td> > <td> > <input type="password" > name="password"/> > </td> > </tr> > </table> > <br/> > <input type="submit">Login</input> > </form> > > If I push the login button it reopens the same page on a new browser > window, but I want to go into my pipline: > > <map:match pattern="do-login"> > <!-- try to login --> > <map:act type="auth-login"> > <map:parameter name="handler" value="dbauthentication"/> > <map:parameter name="parameter_userid" > value="{request-param:userid}"/> > <map:parameter name="parameter_password" > value="{request-param:password}"/> > <map:redirect-to uri="index"/> > </map:act> > <!-- something was wrong, try it again --> > <map:redirect-to uri="login"/> > </map:match> > > Does someone see my misstake? > > Thanks, > > Mike > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
