cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Locking the JS global scope to avoid implicit declarations
Date Thu, 28 Oct 2004 13:09:21 GMT
Carsten Ziegeler wrote:

>This might be a dump question, but I thought that global variables
>are attached to the session of the current user. Is this wrong or
>are there different kinds of global variables?

Yes, the "global" scope in flowscript is attached to the session. That 
means implicitely declared variables are shared by all continuations of 
a given user instead of being local to a continuation. Things would be 
even worse if the global scope was unique to the application!!


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message