Andrei Costescu wrote:Otherwise server would probably fill-up all licenses in no-time.
This is exactly what was happening. My customer did a mailing. All the receipients had a look at the web application.
Just a short look and then they went back to work again.
I had about 30 webclients idle for more than 30 minutes, keeping all a licensie.
See the situation below.
The web.xml contains the following:
- 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>20</session-timeout>
</session-config>
The server time is:
- Code: Select all
Server Information
Servoy version 4.1.5 -build 687
Repository version 35 (895d61ef-3255-446e-966d-f89399321361)
Current time: Thu Mar 18 09:39:42 CET 2010
Uptime: 9 days 17 hours 9 minutes 55 seconds
And the one of the connected clients is:
- Code: Select all
Solution: havelaar_webshop Total number of clients for this solution: 1
Client: 81.82.196.25[81.82.196.25] (Servoy Web Client)
Client logged in: Thu Mar 18 09:01:12 CET 2010
Client idle since: Thu Mar 18 09:02:10 CET 2010
So this client should have been disconnected by the application server (37 minutes are past)
The client has still the application in the webbrowser, but went away for drinking a coffee for 45 minutes (in this case it's me
)
So I guess this client should have been disconnected.
Now at 9:44 I even closed the webbrowser tabpanel where the solution was running. So there is really no connection anymore.
Now I'll wait another 20 minutes to see if that changes anything.
Martin