22 Jun
2001
22 Jun
'01
8:54 p.m.
Zopista writes:
Read the minor notes at the bottom of the Site Access docs: http://www.zope.org/Members/4am/SiteAccess2/vhosting
"The return value of an Access Rule is ignored and discarded. This allows embedded string comments such as in the examples above, and the use of <dtml-return " 'ignored' "> to exit the Rule. It also means that if you want to redirect within an Access Rule, you must use <dtml-raise type="Redirect"> instead of "RESPONSE.redirect()" Do you understand, why "RESPONSE.redirect()" does not work? It does not depend on a return value....
Dieter