>>>>> "Ugo" == Ugo Cei <[EMAIL PROTECTED]> writes:

    Ugo> Il giorno 06/lug/04, alle 11:26, Colin Paul Adams ha scritto:
    >> Except having now looked on the documentation for session
    >> support in Cocoon, there does not appear to be any support for
    >> session timeouts.

    Ugo> Session timeouts are the concern of the servlet container. It
    Ugo> should be configured somewhere in WEB-INF/web.xml, if I
    Ugo> remember correctly.

But it is important to be able to take control when a session expires,
so you can free up any resources in use (such as a database
connection).
The interface HttpSessionListener is available for objects to
receive notification of session binding and unbinding.
I would have expected coccon to make use of the sessionDestroyed
method on this object to be able to pass control at session
termination, but I cannot find any reference in the source code to
HttpSessionListener so I conclude that it does not allow this.

-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to