Focal Point
[CLOSED] How to 'trigger' login-success?

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

May 31, 2013, 01:05 PM
Dan Pinault
[CLOSED] How to 'trigger' login-success?
Hi all,

I'm building a User Agreement Acceptance step into the bid-login process and I can't quite figure out how to send the user back to the dashboard after interrupting the process.

I've edited the bid-config.xml file and changed the redirect for the request-context="login-success" so the user is redirected to a procedure that displays the user agreement and ultimately gives them two buttons - "I Agree" and "I Disagree".

When they click on the "I Agree" button I want to send them on to the dashboard. If I try to use a URL like
http://myserver/ibi_apps/bid/cf_gbv
they end up back on the login screen.

Here are my questions:
1) Can I create my own response-direct in the bid-config.xml file? Even if I do, how do I 'trigger' it?

Better yet,

2) How can I send the user to the dashboard view they get without being re-prompted for credentials?

Thanks!

Dan

This message has been edited. Last edited by: <Kathryn Henning>,


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
May 31, 2013, 02:28 PM
MattC
Another option instead of getting into the guts of the Webfocus application, is make that the first HTML page they see when they go into

http://myserver/ibi_apps/bid/cf_gbv


the user acceptance page. If they accept then take them to the page. Now assuming you would not want them to do this everytime they log in, so you could actually write to a table, by userid so it checks the user.

If the user does not accept, then you can redirect them to the logout URL.


WebFOCUS 8.1.05
May 31, 2013, 03:45 PM
Dan Pinault
MattC -

Interesting idea. If I understand what you are saying I should make the 'home' page for their dashboard view be the user acceptance page and then redirect accordingly.

Question: Since that page opens inside the context of the dashboard view what is there to prevent the user from simply selecting another tab in the view?

BTW - yes, we only want to prompt the user at certain time intervals so we will need a table to record their responses. This is why I have to implement the process after they login.

Thanks,

Dan


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
June 01, 2013, 08:13 PM
MattC
Yea that was the unsure of if you had another tab in the dashboard. Another thought is that if you are going to store the acceptance in a table, you could have each page (or tab) check the table to ensure that have accepted. otherwise each tab will have the accepted page.

We do something similiar with SiteMinder so each tab has a certain level of our hierarchy, so regardless of the tab you will only get that hierarchy level.

Are you not in the Advisory Councel? If so we will have to formally meet on Monday. I am Matt from Wendys.


WebFOCUS 8.1.05
June 02, 2013, 08:08 AM
Dan Pinault
I look forward to officially meeting you Matt.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.
June 14, 2013, 03:16 PM
Dan Pinault
Closing this. Don't want to mess with the internals as much as I may have to. Will come up with some other approach.


7.7.05M/7.7.03 HF6 on Windows Server 2003 SP2 output to whatever is required.