On Friday, 10. October 2003 16:21, Gaston wrote: > Hi, > > I am new to AxKit, then there might by points I did not understood at this > point. I am testing axkit to rewrite an application already existing in Mod > Perl. And I do not know how to implement a quite simple feature. I did not > find the answer in docs nor Google. > > At our Welcome Page say "/cgi/index.cgi", there is a Form like this : > > <form action="/cgi/connexion.cgi"> > <input type= ... > ... > </form> > > If the login and password are recognized, the main protected page is > displayed. If not recognized, the same login page is displayed with an > error message. > > Using XSP, I do not find a way to display a different page if user is not > recognized. And that will be the same for other forms we are using. How are > you dealing with that kind of errors? How can we : - either redisplay the > form with an error message on bad or missing fields - either display next > page.
Use a redirect to redirect on success. You may want to check out PerForm as well, it works similarly. -- CU Joerg PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]