BBjAppConfig::clearManageBrowserHistory

Description

In BBj 16.0 and higher, this method clears any application-specific setting for managing browser history and uses the server's default setting.

Syntax

Return Value

Method

void

clearManageBrowserHistory()

Parameters

None.

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::clearManageBrowserHistory

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

BBjAppConfig::getManageBrowserHistory()

BBjAppConfig::setManageBrowserHistory()

BBjAppServer::getManageBrowserHistory()

BBjAppServer::setManageBrowserHistory()

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