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
ContextClose (Function)
In French: ContexteFerme
AjaxNot available
Closes a page context. In some specific cases (user groupware, ...), you have the ability to specify the value to return.
Caution: Closing the context of the current page is not recommended.
Example
ContextClose(PAGE_Page4)
Syntax

Closing the page context Hide the details

ContextClose(<Page Name>)
<Page Name>: Character string (with or without quotes)
Name of the page whose context must be closed. If this parameter is equal to an empty string (""), the name of the page corresponds to the page to which the current process belongs.

Closing the page context and returning information Hide the details

ContextClose(<Page Name> , <Return Value>)
<Page Name>: Character string (with or without quotes)
Name of the page whose context must be closed. If this parameter is equal to an empty string (""), the name of the page corresponds to the page to which the current process belongs.
<Return Value>: Type of returned value
Value returned to the calling page. This parameter is reserved for the use of specific WEBDEV pages that are automatically opened (pages of user groupware, ...). The value of this parameter is ignored if this parameter is used for a page that expects no return value.
Remarks
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 9
Comments
Click [Add] to post a comment