Focal Point
[SOLVED] Redirecting Logoff, Not Taking

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3317000826

January 17, 2013, 03:35 PM
John_Edwards
[SOLVED] Redirecting Logoff, Not Taking
So I edited the bid-config.xml file like I've done half a dozen times before to redirect logoff to my custom login screen.

It's not taking. I'm still getting the old one. What do I need to restart, or clear, or reset in order for the change to occur?

7.7.03 on Win2008

J.

This message has been edited. Last edited by: John_Edwards,



January 17, 2013, 04:48 PM
Doug
Try to do your redirection via the dashboard builder interface, something like this:
https://[-yoursite-]/ibi_apps/
. I never had an issue from there.




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
January 18, 2013, 10:23 AM
John_Edwards
That kind of blows when I'm managing the same source code on three separate platforms.

J.



January 18, 2013, 10:34 AM
Doug
"Blows" or not... This redirection should only be done once, at the creation of the initial dashboard, on the development platform (Assuming the three platforms are Dev, QA, and Prod). Then, when that one dashboard is migrated thru QA and Prod, the redirection will follow (unless you have different redirections for each platform).

I hope that this is encouraging Smiler




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
January 18, 2013, 10:53 AM
John_Edwards
Alright, I got this.

The first thing that became apparent was that my local browser was caching (I want a checkbox on my browser's settings page with the words "Never cache anything ever ever ever ever ever" next to it) and I needed to blow everything away to even view the problem.

Second, I made the change so that it reads like this:

<response-redirect request-context="logoff-success">
  <!--    
    <context-redirect url="&WELCOME;"/>  </context-redirect> 
  -->
  <x-redirect url="/ibi_html/bid-login.htm"/>
</response-redirect>


Third, I had to go into the existing Group Views and reset their redirect (bottom of the View Settings page) to the default value. Once the bid-config.xml file was changed and all the views were reset to the default value I started getting correct results.

I'll be honest -- I don't recall changing the logoff redirect on the views and I'd have zero reason to do so since I didn't have the new login page built until this past week. So it appears (at least to me) that when the group views were created the logoff redirect value was hard-coded into the view and needs to be bumped in order to reflect the change. It's not a big deal but having a bit of documentation would have made me a bit more productive this week.

Closed.

J.



January 18, 2013, 12:43 PM
Doug
We redirect, at logoff, to a corporate home page which works out nicly for us...

Happy Coding and ReDirecting...