Page 1 of 1

Expiring Client session

PostPosted: Fri Jan 30, 2009 9:23 am
by Infop
Hi all,

Is there any default time-out for client session expired? If yes, what is the time interval?

Is there any way to expire a Client's session forcefully??

Re: Expiring Client session

PostPosted: Fri Jan 30, 2009 1:35 pm
by ROCLASI
Hi Infop,

I assume you are talking about webclient.
You can set the default time in web.xml. You find this file in $SERVOY/application_server/server/conf/

Code: Select all
  <!-- ==================== Default Session Configuration ================= -->
  <!-- You can set the default session timeout (in minutes) for all newly   -->
  <!-- created sessions by modifying the value below.                       -->

    <session-config>
        <session-timeout>30</session-timeout>
    </session-config>


To close a webclient forcefully you need to use the servoy-admin pages.

Hope this helps.

Re: Expiring Client session

PostPosted: Fri Jan 30, 2009 4:05 pm
by ngervasi
As a side note keep in mind that if you have Ajax support turned on for that solution in the admin pages your clients sessions will never time out because the ajax call to tomcat will reset the idlte time counter.

Re: Expiring Client session

PostPosted: Mon Feb 02, 2009 1:01 pm
by Jan Blok
addendum to last post: only when browser is kept open/active...when browser is closed the session will expire