Hi,
I would like to call a flow method when the current session expire, is there any way to get a callBack, or maybe to
regulary poll the session with getLastAccessedTime and do all the invalidating stuff manually?
You can add to the session an object implementing the HttpSessionBindingListener interface, that will be called back when the session expires.
Or do you mean you would like this feature be implemented directly at the flow level, e.g. register a callback function on the "cocoon" object like :
cocoon.addSessionExpirationCallback(function(session) { ... });
Sylvain
-- Sylvain Wallez Anyware Technologies http://www.apache.org/~sylvain http://www.anyware-tech.com { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects } Orixo, the opensource XML business alliance - http://www.orixo.com
