BBjAppConfig::getManageBrowserHistory

Description

In BBj 16.0 and higher, this method returns a boolean indicating whether BUI will manage this app's browser history. The default value is false .

Syntax

Return Value

Method

boolean

getManageBrowserHistory()

Parameters

None.

Return Values

Returns a boolean indicating whether BUI will manage this app's browser history.

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::getManageBrowserHistory
admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
appConfig! = appServer!.makeEmptyAppConfig()
print "getManageBrowserHistory: ",
print appConfig!.getManageBrowserHistory()
print "setManageBrowserHistory(false)"
appConfig!.setManageBrowserHistory(0)
print "getManageBrowserHistory: ",
print appConfig!.getManageBrowserHistory()
print "clearManageBrowserHistory()"
appConfig!.clearManageBrowserHistory()
print "getManageBrowserHistory: ",
print appConfig!.getManageBrowserHistory()

See Also

BBjAPI

BBjAppConfig

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