int logout()
The logout method allows users to log out of
Tarantella. It can be used with the following Tarantella
applets:
The logout method returns 0 if the user
is successfully logged out; otherwise it returns the relevant error
code.
<SCRIPT Language="JavaScript">
function logout()
{
status = document.applets[0].logout();
if (status != 0)
alert ( "Failed to log out: error " + status );
}
</SCRIPT>
Defines a function that logs a user out, or displays a dialog containing the error code.
Note that the applet must be present in the same web page
as the logout method.