Tuto WEBDEV 25

Part 4: Internet site with data 137 Principle for displaying a WEBDEV AWP site The Internet section of our site will be developed in AWP mode. Unlike the sites in session mode, the AWP mode allows for an easy referencing of site pages. Let’s take a look at the operating mode of AWP mode. What is an AWP page? A page in AWP mode (Active WEBDEV Page) is a page in WEBDEV session mode without persistent context on the server. The AWP 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 For each page in AWP mode displayed in the browser, the following elements are automatically created on the server: • a temporary session, • a temporary AWP page context. The temporary session contains the temporary context of the page in AWP mode. When the page in AWP mode 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 context of the page in AWP mode contains all elements that have been required to build the page viewed by the Web user: • local variables, • the server processes, • database connections, • the file contexts, etc. When the page in AWP mode is sent to the Web user, these elements are destroyed.

RkJQdWJsaXNoZXIy NDQ0OA==