Tuto WEBDEV 25
102 Part 3: Intranet site with data 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.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==