4D v16.3

WEB SET HOME PAGE

Home

 
4D v16.3
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 Defining a Default Home Page). 

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.



See also 

Web Server Settings

 
PROPERTIES 

Product: 4D
Theme: Web Server
Number: 639

This command can be run in preemptive processes

 
HISTORY 

Created: 4D v6.5
Renamed: 4D v13

 
ARTICLE USAGE

4D Language Reference ( 4D v16)
4D Language Reference ( 4D v16.1)
4D Language Reference ( 4D v16.2)
4D Language Reference ( 4D v16.3)