DisconnectBrowser

Description:
Disconnect an occurrence of the Web Browser from AutoWeb control.

Format:
DisconnectBrowser (integer Session ID (optional))

Parameters:

integer

Session ID (optional)

Occurrence number of the Browser to disconnect.
First Browser occurrence is 1
Default value is 1

Return Value:

Boolean

Success Ind

Success Indicator.
TRUE – Specified or default Browser was disconnected
FALSE – Browser was not disconnected

Usage:
Use this function to disconnect an occurrence of an open Browser from Autoweb control. The Browser occurrence stays open and is independent from AutoWeb. Once an occurrence of a Browser is disconnected, no other functions may be executed against it. The Session ID that was previously assigned to the disconnected Browser occurrence is now available to be used by a new Browser occurrence.

Example 1:
Disconnect the default, first occurrence of the Browser.

DisconnectBrowser ()

Example 2:
Disconnect the second and third occurences of the Browser.

DisconnectBrowser (2)
DisconnectBrowser (3)

Example 3:
Open and Disconnect the same occurrence of a Browser.

integer intSessNum

intSessNum = OpenBrowser (TRUE)
DisconnectBrowser (intSessNum)

Hosted by www.Geocities.ws

1