cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Flow without session, how?
Date Sat, 11 Sep 2004 18:00:46 GMT
Bertrand Delacretaz wrote:

> Sounds like a simple question but I haven't found the answer in the 
> lists:  Is it possible to prevent Flowscript from creating a session?
>
> I have some pages in my app that don't need state and the sessions get 
> in the way of automated (torture;-) testing.


Do you have any global variables in your flowscripts? 
FOM_JavaScriptInterpeter creates a session (if it doesn't already exist) 
whenever a variable is set in the global scope.

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message