cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samuel Tribehou" <s.tribe...@cykia.com>
Subject flowscript and infinite loops
Date Fri, 20 Aug 2004 16:27:35 GMT
Hello, 

I know this is a silly question, but..
I'd like to know what happens exactly in memory with this type of flow : 

flowscript_func ()
{
     while (true)
    {
       cocoon.sendPageAndWait("/example");

      // do things with user input
    }
}

Of course the purpose is  to load the page, have the user 
enter data and do things with it, then reload the updated page, etc...

But what happens when the user clicks a link which leads him to another form
(and another flowscript loop) ? Will the previous loop continue to wait  for 
sendPageAndWait() to return and leak some memory ?



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message