[Opensource] Session expiration
Michael Rimov
rimovm at centercomp.com
Thu Sep 11 22:11:35 PDT 2003
At 10:58 AM 9/11/2003 +0200, you wrote:
>A simple and a (maybe) not so simple question.
>
>1) how can I set the timeout for a session expiration in expresso?
Cool! You posted an easy one! Yippie! ;)
Session expiration is set by the app server, not Expresso. So check the
app server configuration docs to define the expiration time.
>2) how can I execute some custom code in addition to the standard one when
>a session expires?
Create an HttpSessionBindingListener object. It allows you to listen to
when sessions and values are bound to a session.
An example implementation is CurrentLogin at com.jcorporate.expresso.core.misc
>Thank you very much in advance.
No sweat... keep them easy ones coming ;)
-Mike
More information about the Opensource
mailing list