Custom Logoff screen for XIR2 MHF1

All,

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.

Thanks,
Chris H


chunt :us: (BOB member since 2006-12-07)

Hi Chris,

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 :-

<META HTTP-EQUIV=REFRESH CONTENT="0;URL=http://server:port/customLogoffPage.htm"> 

Can you paste the content of your doLogout.jsp here so we can check it?

Regards

Rod


rodallen :uk: (BOB member since 2006-02-10)

That was the key. The reference to the custom page we were using before was the following:

Changing it to a direct reference (like ) caused it to start working again.

Thanks for the tip, I should have tried that before!

Chris H


chunt :us: (BOB member since 2006-12-07)

HELP!

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?

Business Objects suggests another way of customizing the logoff page but this didn’t work at all for me:
http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=9012977&sliceId=&dialogID=22230023&stateId=1%200%2022226738


cppwiz :us: (BOB member since 2007-09-13)

Hi,

I have not seen this for a while but I remember posting on this topic here :-

try those 2 modifications (web.xml and doLogout.jsp) and see if that fixes it.

cheers

Rod


rodallen :uk: (BOB member since 2006-02-10)

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.


cppwiz :us: (BOB member since 2007-09-13)

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 :frowning: ). 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!)

Good luck

Rod


rodallen :uk: (BOB member since 2006-02-10)

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


cppwiz :us: (BOB member since 2007-09-13)