Tuto WEBDEV 25
Part 4: Internet site with data 139 How to share information (values) between AWP pages? Two methods are used to share information (values) between pages in AWP mode: • Passing information in the URL. This method allows for a better referencing. • Saving information in the AWP contexts (by 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 referencing because the information passed in the URL is visible and analyzed by the referencing robots. Saving information (values) in the AWP contexts (by programming) You have the ability to store on the server values common to several pages in AWP mode, via the AWP contexts . An AWP context is created on disk on the server. This context is available as long as pages in AWP mode 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 functions such as DeclareAWPContext , FreeAWPContext , etc. See the online help for more details.
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==