The easiest way is to pass a parameter. If it is set then it was an internal redirect.
Ralph -----Original Message----- From: Steve Krulewitz [mailto:[EMAIL PROTECTED] Sent: Thursday, March 11, 2004 7:21 PM To: [EMAIL PROTECTED] Subject: How to tell if a request is an internal redirect? Hey folks -- Is there a way, with a selector perhaps, that you can tell if a pipeline is getting executed because of a user's request or because of a <map:redirect-to uri="cocoon://..."/>? I have a pipeline that redirects to itself, and I want to prevent infinite recursion. cheers, -steve --------------------------------------------------------------------- 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]
