Le 11 sept. 04, � 20:00, Sylvain Wallez a �crit :
...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.
Ok, I see - the problem is my lack of understanding of Javascript ;-)
This causes a session to be created:
function public_XXX() {
rt = "dummy"; // huh - is that a global?
cocoon.sendPage("RRR");
}
Whereas this does not:
function public_XXX() {
var rt = "dummy";
cocoon.sendPage("RRR");
}
Guess I'l have to go back to reading the javascript spec ;-)
Thanks for the hint!
-Bertrand