BBjAppConfig::setManageBrowserHistory

Description

In BBj 16.0 and higher, this method sets whether BUI should manage this app's browser history.

Syntax

Return Value

Method

void

setManageBrowserHistory(boolean manage)

Parameters

Variable

Description

manage

 A boolean indicating whether BUI should manage this app's browser history.

Return Values

None.

Remarks

BUI apps tend to be stateful; data can be lost if the user accidentally presses the browser 'back' button. When this mode is set, BUI manages browser history and the 'back' button.

Example

rem ' BBjAppConfig::setManageBrowserHistory

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
appConfig!.setManageBrowserHistory(0)
print "setManageBrowserHistory: ",
print appConfig!.getManageBrowserHistory()

See Also

BBjAPI

BBjAppConfig

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.