PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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
6. How to display an AWP site
Previous pageTable of contentsNext page
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 WEBDEV site in Session mode, 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 the temporary Active WEBDEV Page context. When the Active WEBDEV Page is sent to the Web user, the temporary page context and the temporary session are destroyed. There is nothing left in memory on the server.
The temporary Active WEBDEV Page context contains all elements that have been required to build the page viewed by the Web user:
  • local variables,
  • server processes,
  • database connections,
  • contexts of data files, etc.
When the Active WEBDEV Page is sent to the Web user, these elements are destroyed.
Principle of an AWP site
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 the AWP contexts (through programming).
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 the AWP contexts (through programming).
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, you must use WLanguage functions such as DeclareAWPContext, FreeAWPContext, etc.
For more details, see the online help.
Previous pageTable of contentsNext page
Comments
Click [Add] to post a comment