[ZPT] Strange session behavior with macro-call

Jeff Peterson jpeterso at crary.com
Mon Jun 26 16:04:27 EDT 2006


I have a page template that calls a couple of scripts at the beginning, 
they are setting session objects and redirecting to a login screen if 
certain session objects don't exist.  I am pulling in a macro to display 
the content for this page.  When the macro is rendered, the scripts fail 
to operate properly (commented out they work perfectly). In the error 
case the redirect still happens however, none of the session variable 
are set.  I test it with other markup in place of the macro and it 
works, I make that code into a macro and that works as well

I am scratching my head furiously with this one, any help would be 
appreciated.

Regards,

-- 
Jeffrey D Peterson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jpeterso.vcf
Type: text/x-vcard
Size: 294 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zpt/attachments/20060626/39b7cb61/jpeterso.vcf


More information about the ZPT mailing list