PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • This lesson will teach you the following concepts
  • Principle for displaying a dynamic WEBDEV site
  • The WEBDEV session
  • The page contexts
  • Programming
Lesson 3.2. Principle for displaying a dynamic WEBDEV site
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 dynamic WEBDEV site
The principle for displaying a dynamic WEBDEV site is as follows:

The WEBDEV session

When the Web user connects to a dynamic WEBDEV site, 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:
  • the global variables,
  • the local variables,
  • the server processes,
  • the connections to the databases,
  • the file contexts, etc.
The page contexts remain in memory on the server until the end of 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 23
Comments
Click [Add] to post a comment