COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => SDK => Topic started by: jmoore on 27 Mar 2007 03:05:34 PM

Title: logoff redirect
Post by: jmoore on 27 Mar 2007 03:05:34 PM
I used the sdk sample to customize the login page. It works great. Now, however, when the user logs off and wants to login again I need to redirect back to this page. It looks like the logic may be in logoff.xts but how do you modify a .xts file. Or does someone else have a better solution? Thanks.
Title: Re: logoff redirect
Post by: COGNOiSe administrator on 28 Mar 2007 05:23:22 PM
You are not supposed to modify any of the XTS files, since it makes your environment unsupportable in Cognos Support' eyes.

Even if you do, and you then manage to disable the compiled versions (somewhere in JAR files), it makes the environment to run really slow, since every XTS has to be recompiled at runtime.

However, I think you should be able to modify the JS files and a quickl look at top.location should allow you to develop a redirect with minimum performance impact.
Title: Re: logoff redirect
Post by: jmoore on 29 Mar 2007 07:19:55 AM
Thanks, I've tried that but all the logic is in logoff.xts. You would think since they provide a customized logon solution, the logoff would also be available.