This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
WEB SET HOME PAGE

WEB SET HOME PAGE 


 

WEB SET HOME PAGE ( homePage ) 
Parameter Type   Description
homePage  String in Page name or HTML access path to the page or "" to not send the custom home page

The WEB SET HOME PAGE command allows you to modify the custom home page for the current Web process.

The defined page is linked to the Web process, you can therefore define the different home pages depending, for example, on the user that is connected. This page can either be static or semi-dynamic.

You pass the name of the HTML home page or the page’s HTML access path to the homePage parameter.

Note: If the page specified in the homePage parameter does not exist when the Web process accesses it for the first time, the Web server creates it and assigns it the contents of the default home page (see ). 

To stop sending homePage as home page for the current Web process, execute WEB SET HOME PAGE with an empty string ("") passed in homePage.

Note: The default home page of the Web server is specified in the Database Settings dialog box.

 
PROPERTIES 

Product: 4D
Theme: Web Server
Number: 639

This command can be run in preemptive processes

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v6.5
Renamed: 4D v13 (SET HOME PAGE)

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)