Thanks Emmanuel for the quick response.
Will try that.
Regards,

Dor

-----Original Message-----
From: Emmanuel Lécharny <[email protected]> 
Sent: Sunday, June 16, 2019 5:37 PM
To: [email protected]
Subject: Re: User session has timed out idling after 600000 ms


On 16/06/2019 16:18, Dor Ben Dov wrote:
> Hi everyone,
> Is it possible to increase this timeout ?

There is no session timeout in MINA: a socket remains opened as long as it's 
not closed, either by your application, the client, or the OS because it's 
idling for too long.

Now, your OS will close inactive sockets after a configured time, and you may 
want to prevent that. In MINA, you'll do that by configuring the session 
configuration using the SocketSessionConfig.setKeepAlive( true ) call. This is 
a global parameter, so you need to call it when defining your IoService 
instance.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]

This email and the information contained herein is proprietary and confidential 
and subject to the Amdocs Email Terms of Service, which you may review at 
https://www.amdocs.com/about/email-terms-of-service 
<https://www.amdocs.com/about/email-terms-of-service>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to