ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Page / Active WEBDEV Pages and sites
  • Overview
  • Operating mode of Active WEBDEV Pages
  • What is an Active WEBDEV Page?
  • Operating mode of AWP sites
  • How to share information (values) between Active WEBDEV Pages?
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
Overview
WEBDEV includes several types of pages to create dynamic sites:
Operating mode of Active WEBDEV Pages

What is an Active WEBDEV Page?

An Active WEBDEV Page is a dynamic WEBDEV page without persistent context on the server. The Active WEBDEV Page context is temporary. It is created in a temporary session.
Reminder: In a dynamic WEBDEV site, each displayed page owns a persistent page context for the entire lifetime of the session on the server.

Operating mode of AWP sites

The following elements are automatically created on the server when an Active WEBDEV Page is displayed in the browser:
  • a temporary session,
  • a temporary Active WEBDEV Page context.
The temporary session contains all the elements that have been used to build the page viewed by the Web user:
  • local variables,
  • server processes,
  • database connections,
  • file contexts, etc.
When the Active WEBDEV Page is sent to the Web user, these elements are destroyed.

How to share information (values) between Active WEBDEV Pages?

There are two methods to share information (values) between Active WEBDEV Pages:
  • Passing information in the URL. This method allows for better SEO.
  • Saving information in AWP contexts (programmatically).
Passing information (values) between two pages in the URL
It is possible to pass information from one page to another via the URL. The URL has the following format: "http:\\Web server\...\mypage.awp?NameParam1=Value1&NameParam2=Value2".
This method allows a better page SEO because the information passed in the URL is visible and analyzed by the SEO robots.
Saving information (values) in AWP contexts (programmatically)
You have the ability to store on the server values common to several Active WEBDEV Pages, via the AWP contexts. An AWP context is created on disk on the server. This context is available as long as Active WEBDEV Pages are displayed and as long as the timeout of AWP contexts is not exceeded. The timeout of AWP contexts is defined in the WEBDEV administrator ("Configuration" tab, "Duration of AWP contexts" option).
To manage AWP contexts, use the following WLanguage functions: DeclareAWPContext, FreeAWPContext, etc.
For more details, see AWP: Managing contexts.
Minimum version required
  • Version 9
Comments
Click [Add] to post a comment

Last update: 09/12/2023

Send a report | Local help