PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WEBDEV 24 feature!
  • This lesson will teach you the following concepts
  • Principle for displaying a WEBDEV site in Session mode
  • The WEBDEV session
  • The page contexts
  • Programming
Lesson 3.2. Principle for displaying a WEBDEV site in Session mode
This lesson will teach you the following concepts
  • Page contexts.
  • WEBDEV session.

Estimated time: 5 mn
Previous LessonTable of contentsNext Lesson
Principle for displaying a WEBDEV site in Session mode
The principle for displaying a WEBDEV site in Session mode is as follows:

The WEBDEV session

When the Web user connects to a WEBDEV site in Session mode, a session is automatically created on the server.
This session contains the page contexts corresponding to each page opened by the Web user.
The session will be ended when the Web user exits from the browser or when the session timeout is exceeded. This timeout is defined in the WEBDEV administrator ("Configuration" tab, "Disconnect the inactive users since" option).

The page contexts

A page context is automatically created on the server whenever a page displayed in the browser. This page context contains all elements that have been required to build the page viewed by the Web user:
  • global variables,
  • local variables,
  • server processes and events,
  • database connections,
  • contexts of data files, ...
The page contexts remain in memory on the server until the end of the WEBDEV session.
If the same page is called several times:
  • If PageDisplay is called to display the page, the page context is destroyed and re-created.
  • If PageRefresh is called to display the page, the same page context is re-used.

Programming

The WEBDEV session and the page contexts are automatically managed by default. There is nothing to program.
Previous LessonTable of contentsNext Lesson
Minimum version required
  • Version 24
Comments
Click [Add] to post a comment