Login  Register

RE: Redirect: Restoring Request Attributes

Posted by Vinay Agarwal on Jul 21, 2006; 10:36pm
URL: http://ofbiz.116.s1.nabble.com/Redirect-Restoring-Request-Attributes-tp169984p169987.html

Si, David,

After further investigation, the issue I was facing (of lost request
attributes) is a side effect of calling response.sendRedirect from within
the event handler. This does not happen when the requests are chained.

In this light, how dangerous is calling the sendRedirect from event handler?
Is it likely to cause a lot of problems?
       
Regards,
Vinay Agarwal


-----Original Message-----
From: Si Chen [mailto:[hidden email]]
Sent: Friday, July 21, 2006 11:31 AM
To: [hidden email]
Subject: Re: Redirect: Restoring Request Attributes

Ok, do you have a simplified version of what you're using so we could
replicate it?

Si


On Jul 21, 2006, at 11:25 AM, Vinay Agarwal wrote:

> error which wasn't displayed. Ordermgr quickship uses redirect which
> might