ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Developing an application or website / WEBDEV specific features
  • Overview
  • How to?
  • Defining a persistent session
  • Use conditions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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. Display the project description: under the "Project" pane, in the "Project" group, click on "Description"..
  2. On 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: Firefox 6.0 and higher
  • Opera: From Opera 11
  • Safari: From Safari 5.0 onwards
  • Internet Explorer: Not supported (IE 11 included)
  • Edge: Not supported
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help