cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinhard_po...@gmx.net>
Subject RE: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/flow/javascript/fom FOM_JavaScriptInterpreter.java
Date Mon, 14 Jul 2003 16:27:25 GMT

From: Geoff Howard 


> Christopher Oliver wrote:
> > Yes. That is a feature of the new FOM: it always creates a session. 
> > The
> > original API had createSession() and removeSession(). Those 
> functions 
> > were removed from FOM.
> 
> I thought that was only supposed to happen after a reference to 
> cocoon.session, or when a continuation is created.  Can 
> someone confirm?

Yep. If there is no reference to cocoon.session no session should be
created. So if you get a session if you redirectTo(uri) you 
discovered an error. One question: Are you sure that you haven't
created a session somewhere else?

Cheers,
Reinhard


Mime
View raw message