Redirecting Pages with Sensitive Data
If you have a page that contains sensitive data, and you want to redirect the user to it, you should use the provided template HOMEPAGE_DESIGNER_TEMPLATE. For the content reference for the component, specify this as the template name. You should also use PeopleCode to redirect the user instead of using an HTML area on the page.
The following example shows the type of PeopleCode that you could use:
&Res = SwitchUser(QE_SWITCHUSER.QE_SWITCH_USER, QE_SWITCHUSER.QE_SWITCH_USER_PWD, QE_SWITCHUSER.QE_SWITCHUSERAUTHT, QE_SWITCHUSER.QE_SWITCHUSERINFO);
If (&Res = True) Then
Transfer( False, MenuName.PROCESSMONITOR, BarName."INQUIRE", ItemName."PROCESSMONITOR", Panel."PMN_PRCSLIST", "U");
Else
QE_SWITCHUSER.QE_SWITCHRES = "N";
QE_SWITCHUSER.QE_PPCAUTHTOKEN = %AuthenticationToken;
QE_SWITCHUSER.QE_RESULTDOC = %ResultDocument;
Record.QE_SWITCH_SRCH.QE_CUR_USER.Value = %UserId;
End-If;