PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → WebDev - What are 'Prelaunched sessions' ?
WebDev - What are 'Prelaunched sessions' ?
Débuté par Glenn Rathke, 27 nov. 2008 08:21 - 4 réponses
Posté le 27 novembre 2008 - 08:21
Hi,
In the WebDev administrator I noticed there is a checkbox for prelaunched sessions. What exactly is that.?
Thanks
Glenn
Posté le 27 novembre 2008 - 17:28
Hi Glenn,

Prelauched session = cached session, so from the Help the explanation is:

Whenever a Web user connects to a site, a session is started on the server. Starting the session may take a few seconds.
If a number of cached sessions is defined, when a Web user connects to a site:
- one of the cached sessions is automatically used: the connection to the site is therefore faster.
- a new session is automatically cached.

--
Regards
pat
http://ilikewd.free.fr
Posté le 28 novembre 2008 - 00:31
Hi Glenn...
Those are small executable (like windev exe) in charge or maintaining the session and probably also executing the server code of each session... In previous versions, this number was static (5), now you can choose...
So prelaunched sessions are in fact exes waiting for the next browser connections... This allow the answer to be faster, as creating an exe in memory takes time....
If you look at a server memory with a process spy, it's very nice to see all those little exe coming up and shutting down...
that's all
Best regards
Fabrice Harari
[url=http://fabriceharari.com]WinDev, WebDev, WinDev Mobile consulting[/url]
Posté le 28 novembre 2008 - 08:31
Thanks to both of you !
Glenn
Posté le 06 décembre 2018 - 01:26
Hi,
In WB22 it seems that if the initialization event takes more than 20 seconds, the session is automatically destroyed (cached process is killed). The application server writes a log line "EXIT TerminateProcess" in the with the WWSession_YYYYMMDD.log and the application server create a new cached session, and this loops and lock the application server.
Anyone knows how to solve this problem?