ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / WEBDEV specific features
  • Overview
  • How to?
  • Defining a persistent session
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Warning
From version 26, this feature is kept for backward compatibility.

Browsers do not always support Server-sent events (SSE).
This feature can still be used if you master the browsers used, in a secure intranet for example, and if it suits the needs of the site.
In the case of a public site, timer browsers should be used.

Overview
For a dynamic WEBDEV site, when starting the site (site called from a browser), a session representing the site is loaded in memory on the server.
This session has a limited lifetime by default. The lifetime of the session corresponds to the parameter "Disconnect idle users after..." specified in the administrator of the WEBDEV Application Server ("Configuration" tab). This parameter corresponds to the timeout of the session lifetime.
In some specific cases, you may have to keep a dynamic session active on the server.
How to?

Defining a persistent session

To define a persistent session:
  1. Open the project description: on the "Project" tab, in the "Project" group, click "Description".
  2. In the "Advanced" tab, check "(HTML5 only)".
  3. Validate.
If this option is enabled, the session will not be closed on the server after the timeout specified in the WEBDEV administrator.
If the user closes his browser (and therefore the site), the session will be automatically cut on the server.

Use conditions

This option is available for the dynamic WEBDEV sites developed in HTML5 and operating on the following types of browsers:
  • Google Chrome: All versions
  • Mozilla Firefox: From Firefox 6.0
  • Opera: From Opera 11
  • Safari: From Safari 5.0
  • Internet Explorer: Not supported (including IE 11)
  • Edge: Not supported
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment

Last update: 12/08/2023

Send a report | Local help