Expiring Client session

Questions, answers, tips and ideas on Servoy Client

Expiring Client session

Postby Infop » Fri Jan 30, 2009 9:23 am

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??
User avatar
Infop
 
Posts: 151
Joined: Fri Nov 30, 2007 3:00 pm

Re: Expiring Client session

Postby ROCLASI » Fri Jan 30, 2009 1:35 pm

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.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Expiring Client session

Postby ngervasi » Fri Jan 30, 2009 4:05 pm

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.
Nicola Gervasi
sintpro.com
SAN Partner
ngervasi
 
Posts: 1485
Joined: Tue Dec 21, 2004 12:47 pm
Location: Arezzo, Italy

Re: Expiring Client session

Postby Jan Blok » Mon Feb 02, 2009 1:01 pm

addendum to last post: only when browser is kept open/active...when browser is closed the session will expire
Jan Blok
Servoy
Jan Blok
 
Posts: 2684
Joined: Mon Jun 23, 2003 11:15 am
Location: Amsterdam


Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 7 guests