Re: [Zope-dev] Browser Timeout

2001-05-31 Thread R. David Murray

On Thu, 31 May 2001, Andre Schubert wrote:
 I tested with lynx. If i type http://somewhere.com/foo/test i got no
 response because timeout, this means, that RESPONSE.setStatus and the first
 RESPONSE.write are sent back to the client if the body processing is done,
 but i would send every command as it is processed back to the client.
 Or is it my Zope( 2.2.4 ) on Immunix 6.2 RedHat.

I presume you tested it first without the large processing to make
sure the method was otherwise working.

I haven't used RESPONSE.write myself.  I know that others on this
list have, so hopefully someone will chime in with a working example
or a debuggin suggestion.  Of course, it's always possible that
streaming got broken at some point; I'm not sure that it gets used
by very many people so breakage may take a while to get noticed...

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Browser Timeout

2001-05-30 Thread Andre Schubert

Hi all,

I have a very important problem with Zope.
I want to display a html-site with diagramms, the diagrams are from a
sql-db with over 30Mill. entries.
My problem is that when i call the site, then for each diagram to
display a sql-query is executed which costs time.
When 20 or 30 query are executed, then the browser say that the document
contains no data.
Is it right, the the browser send a request and got the response when
the site is completly rendered( all queries executed ) ?
If yes, how can i directly write to the client. First all headers, and
after every query send the data to the client, if i can do this, then
there will be no timeout.

thanks as


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Browser Timeout

2001-05-30 Thread R. David Murray

On Wed, 30 May 2001, Andre Schubert wrote:
 Is it right, the the browser send a request and got the response when
 the site is completly rendered( all queries executed ) ?
 If yes, how can i directly write to the client. First all headers, and
 after every query send the data to the client, if i can do this, then
 there will be no timeout.

RESPONSE.write

--RDM


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )