Home > Contents > Index >
CATALOGMANAGER.logout
Logs out a user from within an application using the
CATALOGMANAGER
command.Syntax
<CATALOGMANAGER>
<ARGUMENT NAME="ftcmd" VALUE="logout"/> [<ARGUMENT NAME="killsession" VALUE="true or false"/>]</CATALOGMANAGER>Parameters
ftcmd
(required)- Value must be set to
logout
.
killsession
(optional)- If the value is set to
true
, it destroys the session maintained on the server. This should only be done at the end of processing a given HTTP request since you can't recover or re-create a session until the next HTTP connect issued by the client. This is useful for web users after they finish their session.
Description
This tag logs a user out from an application. Please note that as of Content Server version 4.0, the
CatalogManager logout
command is not valid when CatalogManager security is activated. Using theCatalogManager
logout
command with CatalogManager security is activated results in the session being destroyed and possible application errors.Error Numbers
The possible values of
errno
include:
Value Description -105 Database error.Example
This example logs out the logged in user.
<SETVAR NAME="errno" VALUE="0"/> <CATALOGMANAGER> <ARGUMENT NAME="ftcmd" VALUE="logout"/> </CATALOGMANAGER> <IF COND="IsError.Variables.errno=true"> <THEN> <!--Handle error--> </THEN> </IF>See Also
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.