BBjAppServer::setManageBrowserHistory

Description

In BBj 16.0 and higher, this method sets whether BUI should manage browser history by default.

Syntax

Return Value

Method

void

setManageBrowserHistory(boolean manage)

Parameters

Variable

Description

manage

 A boolean indicating whether BUI should manage browser history by default.

Return Value

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 ' BBjAppServer::setManageBrowserHistory

admin! = bbjapi().getAdmin("admin","admin123")
appServer! = admin!.getWebAppServer()
manage! = appServer!.getManageBrowserHistory()
appServer!.setManageBrowserHistory(manage!)
print "setManageBrowserHistory ",manage!

See Also

BBjAPI

BBjAppServer

BBjAppServer::getManageBrowserHistory()

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