Sonny: I was under the impression that not only does a new Request object get created, but the entire process does. AFAIK redirect-to sends a Location: header to the browser and then it requests the new URL. *Checks this.*
Yeah: HTTP/1.1 302 Moved Temporarily Date: Mon, 18 Aug 2003 06:52:28 GMT Server: Apache/2.1.0-dev (Unix) mod_ssl/2.1.0-dev OpenSSL/0.9.7a DAV/2 mod_jk/1.2.3-dev SVN/0.26.0 PHP/4.3.2 X-Cocoon-Version: 2.1 Location: http://www.jayfreeman.com/lists/ Content-Length: 0 Content-Type: text/plain; charset=ISO-8859-1 Sincerely, Jay Freeman (saurik) [EMAIL PROTECTED] ----- Original Message ----- From: "Sonny Sukumar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, August 17, 2003 9:11 PM Subject: new Request for internal map:redirect-to's? > > Does anybody know if a new Request instance is created when one does an > internal redirect. Like this: > > <map:match pattern="someUri"> > <map:action type="some-action"/> > <map:redirect-to uri="cocoon:/anotherUri"/> > </map:match> > > <map:match pattern="anotherUri"> > ... > </map:match> > > In the "some-action" action, I set a Request attribute, which is gone by the > time "anotherUri" produces output. I know it is being set properly since > I've logged it and it looks fine. > > Btw, I'm using Cocoon 2.1. > > Thanks, > > Sonny > > P.S. Does anybody know how to get LogFactor5 to *not* spawn so many > windows? And I can't close them either. Otherwise, it's a good tool. :-) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
