Strange session behavior with macro-call

Jeff Peterson <[email protected]> Mon, 26 Jun 2006 15:04:27 -0500
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------070307050403070001070608
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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


--------------070307050403070001070608
Content-Type: text/x-vcard; charset=utf-8;
 name="jpeterso.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="jpeterso.vcf"

begin:vcard
fn:Jeffrey Peterson
n:Peterson;Jeffrey
org:Crary Industries;Information Systems
adr:;;237 12th Street NW;West Fargo;ND;58078;US
email;internet:[email protected]
title:Web Applications Developer
tel;work:701-282-5520
x-mozilla-html:FALSE
url:http://crary.com
version:2.1
end:vcard


--------------070307050403070001070608
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ZPT mailing list
[email protected]
http://mail.zope.org/mailman/listinfo/zpt

--------------070307050403070001070608--