[Zope] Catch Unauthorized exception and internal redirect to login DTML doc
David K. Trudgett
dkt@registriesltd.com.au
Fri, 31 May 2002 09:18:49 +1000
On Thursday 2002-05-30 at 01:30:22 -0400, Paul Winkler wrote:
> On Thu, May 30, 2002 at 12:07:41PM +1000, David K. Trudgett wrote:
> > How can I get Zope to do an internal redirect to my login form when an
> > Unauthorized exception is generated?
>
> either of these:
>
> RESPONSE.redirect("my_url")
> REQUEST['RESPONSE'].redirect("my_url")
This does a browser redirect, doesn't it? I'd prefer to do an internal
redirect, if possible.
Thanks.
David Trudgett