IBM Support

Redirect URL on Logoff does not work from Cognos Connection

Technote (troubleshooting)


You can redirect to an URL on logout from Cognos Connection of IBM Cognos BI by modifying the system.xml.
But when using URL like this format:

The redirect does not work during logoff.


The second URL passed in argument is not encoded

Resolving the problem

You need to encode the second URL of this so that you will have :

After that, modify the c10_location\templates\ps\system.xml file :

<!-- Custom login/logoff configurations -->
<param name="custom-auth">
<logoff enabled="true">
<!-- URL to direct to upon logoff. Note: the 'redirect-url' url specified is subject to validation at runtime -->
<logon enabled="false">
At runtime, template name is constructed as base-template-name_<productLocale>.
If base-template-name_<productLocale> does not exist, base-template-name is used.
Note 1: Template filename extension is expected to be .xhtml
Note 2: Template is relative to ../webcontent/ps/login
<base-template-name></base-template-name> <!-- e.g.: my_customtemplate_1 -->

You'll need to restart the Cognos services.

Cross reference information
Segment Product Component Platform Version Edition
Business Analytics Cognos Business Intelligence Cognos Connection Windows 10.1.1 Enterprise

Document information

More support for: Cognos Business Intelligence
Cognos Connection

Software version: 10.1.1

Operating system(s): Windows

Software edition: Enterprise

Reference #: 1650433

Modified date: 19 September 2013

Translate this page: