No I'm not. Perhaps I should explain you my problem. I have a zope object which compiles a huge pdf file for about 5 minutes or so. At some point an intermediate ISA server (M$ ;)) times out and sends an error page to the browser. Due to the error page the browser ignores the redirect header in the response. The redirect header should point the browser to a waiting page, which checks every 10 seconds, if the pdf file is generated yet. However IE sets the URL of the browser to the one received in the redirect header, but does not reload the window. Now I want to compute the pdf-file in a separate thread, so the originating one can return and show the redirection page before the ISA server times out. If you have another solution for me, how I can cause Zope the end the response before the method returns, I would be glad to hear it. Regards Florian Reiser -----Ursprüngliche Nachricht----- Von: Chris Withers [mailto:chrisw@nipltd.com] Gesendet: Donnerstag, 17. Juli 2003 14:29 An: florian.reiser@ra-bc.de Cc: 'Zope-allgemein' Betreff: Re: [Zope] Threading in Zope Florian Reiser wrote:
Hi folks,
When I start a thread in zope, which shall execute a zope object, then
the user falls back to the 'Anonymous User'.
How can I preserve the current user for the thread? I need the user, because the script assembles it's output according to
the users rights.
You need seriously deep Zen to do this kind of programming... Are you _really_ sure you want to? ;-) cheers, Chris