Debugging strange problems, unwanted persistance and similar (was: Re: Provider problems)

2003-10-13 Thread Jörg Walter
On Thursday, 09. October 2003 21:37, Christian Jaeger wrote:
> >- Problem: somehow new requests depend on previous requests. Some
> >state information is preserved between requests. When I request an
> >.xml file as .html, then even subsequent .xml requests yield the
> >.html. In spite of "AxNocache On" in the apache condig, so it
> >doesn't seem like a cache problem (though that's prolly an unsolved
> >problem still).

See http://www.axkit.org/wiki/view/AxKit/DebuggingStrangeProblems

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



Re: Choosing XSL StyleSheet From XSP

2003-10-13 Thread Jörg Walter
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 :
>
> 
>  ...
> 
>
> 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]