PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Using PageRefresh in a process in AJAX mode
  • 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
Refreshes a page displayed in the browser of Web user from the context found on the server.
Caution: The page context must exist on the server. The page context is created by PageDisplay and ContextOpen.
Example
// Refresh PAGE_Page1
PageRefresh(PAGE_Page1)
Syntax
PageRefresh([<Page Name>])
<Page Name>: Character string (with or without quotes)
Name of the page to refresh.
If this parameter is not specified or if it corresponds to an empty string (""), the name of the page corresponds to the page to which the current process belongs.
Remarks

Using PageRefresh in a process in AJAX mode

Reminder: AJAX is used to refresh the data modified in an HTML page without redisplaying the entire page. See AJAX for more details.
If PageRefresh is used in a process in AJAX mode ("AJAX enabled" is displayed in the process bar) and if this process is used to solely or systematically refresh a page, the AJAX technology becomes useless. In AJAX mode, PageRefresh must be reserved for special cases.
During a long process, AJAXExecuteAsynchronous allows you to display a wait message.
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
This page is also available for…
Comments
Click [Add] to post a comment