THANK YOU!  This worked (with a slight change to the dtml-return):

<dtml-unless pyCheckSession>
        <dtml-return login_html>

I *thought* I had seen redirect work as I had had it before, but maybe I misunderstood what was happening. In any case, many thanks!


On May 23, 2006, at  5/23/2006 4:46 PMMDT, Jo Meder wrote:

Hi there!

Given your code in pyCheckSession try the following (not tested):

<dtml-unless pyCheckSession>
  <dtml-return "">

and change pyCheckSession to:

if url <> '':
        "If we have need to, bump the user out"
    return 0
    return 1

The call to "redirect" doesn't magically stop processing of everything
else you programmed.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to