How to limit length of webclient session?

Forum to discuss the Web client version of Servoy.

How to limit length of webclient session?

Postby Westy » Wed Oct 09, 2013 8:18 pm

How can I limit the length of a webclient session to a maximum of 60 minutes of no activity?

Dean
Servoy 6.0.9
Westy
 
Posts: 852
Joined: Fri Feb 13, 2004 5:27 am
Location: Lynnfield, Massachusetts USA

Re: How to limit length of webclient session?

Postby david » Wed Oct 09, 2013 11:51 pm

../server/conf/web.xml:

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>
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.

Re: How to limit length of webclient session?

Postby Harjo » Thu Oct 10, 2013 2:51 pm

That will only work for clients, that have closed the tab in browser, or the whole browser window.
If you want clients to automatically logout after 30 or 60 minutes of idle time, you need the UserManager plugin for that.
Harjo Kompagnie
byKom B.V.
ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
Harjo
 
Posts: 4321
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: How to limit length of webclient session?

Postby david » Thu Oct 10, 2013 3:36 pm

Woops, true that. What Harjo said ^^
David Workman, Kabootit

Image
Everything you need to build great apps with Servoy
User avatar
david
 
Posts: 1727
Joined: Thu Apr 24, 2003 4:18 pm
Location: Washington, D.C.


Return to Servoy Web Client

Who is online

Users browsing this forum: No registered users and 3 guests