PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Cached sessions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the identifier of AWP context. This identifier can be used to build a URL for example.
Example
// Adds the context into a built URL
LINK_Dyn = PageName + ".awp?client=" + Client + "&" + IdentifierAWPContext()
Syntax
<Result> = IdentifierAWPContext()
<Result>: Ansi character string
  • Identifier of the AWP context,
  • Empty string ("") if the function is useless, in the following cases for example:
    • The current page is not an AWP page.
    • The current page is an AWP page without context.
    • The current page is an AWP page with a context that is not stored on disk.
    • The transmission is performed by cookie.
Remarks
If the default transmission mode is used:
  • During the first display of the page, the two transmission modes are used (transmission by cookie and by url). IdentifierAWPContext returns the identifier of the AWP context.
  • During the next displays:
    • If the cookies operate, the transmission mode of the identifier of AWP context by cookie is enabled rather than the one by url, IdentifierAWPContext returns an empty string ("").
    • If the cookies do not operate, the transmission mode of the identifier of AWP context by url is enabled rather than the one by cookie. IdentifierAWPContext returns the identifier of the AWP context.
Versions 20 and later

Cached sessions

If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.
New in version 20

Cached sessions

If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.

Cached sessions

If your project is using cached sessions, this function must not be used in the "Initializing the project" process. This function must be used in the "Initializing the project after connection to the site" process.
Components
WEBDEV - Server code wd230page.dll
Linux wd230page.so
Minimum required version
  • Version 12
Comments
Click [Add] to post a comment