I had previously customized the logoff page for InfoView by editing the doLogout.jsp file per the following post:
Worked great for a while, but after install of MHF1 it no longer does. Instead, the user is now shown the default logoff page. I can replace the content of both the login and logout pages by editing web.xml, but I really need to only change the latter.
Anyone know how to customize or replace that page in the updated version of XIR2? We have PM installed, if that matters.
I backed up my doLogout.jsp file, applied MHF1, put the file back, and it still works ok. The line of code (HTML) which does the redirect should look like :-
This process doesn’t seem to complete the logoff from Business Objects if you redirect to another page. I’m using XI SP2 with PM and if I just logon and logoff without doing anything, I can see the session is correctly logged off in the CMC - CMS properties tab. However, if I modify or view a WebI report and then logoff, the session is not freed. Also, going back to my logon page takes me directly into Infoview without prompting for my logon information. Do you need to put some Javascript in the custom logoff page to free the session?
OK, I tried uncommenting the listener code in the web.xml file, but that just cleans up the old sessions once they hit the timeout value. When I edit doLogout.jsp and redirect to something other than logoff.do the sessions remain active. If I put logoff.do back the sessions are logged off correctly.
Besides uncommenting the listener in web.xml and changing the META tag in doLogout.jsp, is there another step? Maybe this works for CE sessions but not clients using WebI?
I’m using XI R2 SP2, IE 6, Windows XP, Web Intelligence.
Did you read the entire thread? In particular its important to update the order in doLogout.jsp. Try putting this at the top of the block of functions instead of second (did you copy what I did in the thread exactly? I am not just talking about updating the meta tag - but moving those functions around) :-
// logoff the enterprise session
CrystalIdentity ident = (CrystalIdentity)request.getSession().getAttribute(CEConstants.SESSION_EN_SESSION);
if (ident != null)
{
ident.releaseLogonTokens();
ident.getSession().logoff();
}
If it still does not work for you then I am sorry but I can’t help you (in fact I no longed work with Business Objects Products ). All I can say is that manipulating the order of log off functions worked for me and I experienced exactly the same as you (but almost a year ago now!)
Thanks so much for your patience Rod! Once I moved the code block, everything worked. Sorry I was so dense but I really appreciate your help! Thanks again