Le mercredi 08 juin 2005 � 13:00 +0300, Horia Muntean a �crit : > Hello, > > I was trying to configure a session to close itself in case of idle > time expiration. I am using mina-0.7.2.jar (grabbed from > http://cvs.apache.org/repository/directory-network/jars/) on a WinXP > box. The code follows: > <code> > public void sessionCreated(ProtocolSession session) throws Exception {
Hi, Try to do that in sessionOpened (it works for me). Anyway I reconize it's a trap, perhaps it shoudl throw somekind of exception if you configure the session IDLE before it was opened ? Julien
