PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • How to proceed?
  • Defining a persistent session
  • Use conditions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
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 "Disconnect the idle users since..." parameter specified in the administrator of the WEBDEV application server ("Configuration" tab). This parameter corresponds to the time-out of the session lifetime.
In some specific cases, you may have to keep a dynamic session active on the server.
How to proceed?

Defining a persistent session

To define a persistent session:
  1. Display the project description: on the "Project" pane, in the "Project" group, click "Description".
  2. In the "Advanced" tab, check "Maintain the opened sessions on the server automatically (for the HTML 5 pages only)".
  3. Validate.
If this option is enabled, the session will not be closed on the server after the time-out specified in the WEBDEV administrator.
Two cases may occur:
  • If the value of the time-out defined in the WEBDEV administrator is less than 1 mn (60 seconds), the time-out of the WEBDEV administrator has priority: the session will be automatically closed after this time-out.
  • If the value of the time-out defined in the WEBDEV administrator is greater than 1 mn (60 seconds), the idle duration of the session is reset to 0 after one minute, therefore the session is always active.
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 required version
  • Version 19
Comments
Click [Add] to post a comment