822: IF l_portal_sso THEN
823: l_url := replace(l_url,'home','wwsec_app_priv.logout?p_done_url='||
824: OracleSSWA.SSORedirect((nvl(i_direct,l_url)),(nvl(l_home_url,l_url2))));
825: ELSIF l_sswa_sso THEN
826: l_url := OracleSSWA.SSORedirect((nvl(i_direct,FND_WEB_CONFIG.PLSQL_AGENT||'OracleMyPage.home')),
827: (nvl(l_home_url,l_home_url)));
828: ELSE
829: l_url := replace(l_url,'home','wwsec_app_priv.logout?p_done_url='||(nvl(l_home_url,l_url2)));
830: END IF;
996: ELSE
997: htp.p(nvl(c_message,'
1237: val => l_dbc);
1238:
1239: if l_dbc is null
1240: then
1241: l_dbc := FND_WEB_CONFIG.DATABASE_ID;
1242: end if;
1243:
1244: l_encrypted_session_id := icx_call.encrypt3(l_session_id);
1245:
1354: val => l_dbc);
1355:
1356: if l_dbc is null
1357: then
1358: l_dbc := FND_WEB_CONFIG.DATABASE_ID;
1359: end if;
1360:
1361: l_encrypted_session_id := icx_call.encrypt3(l_session_id);
1362: l_encrypted_transaction_id :=
2643:
2644: if f.web_host_name is not null
2645: then
2646: if (instr(f.web_host_name, '://') = 0) then
2647: c_anchor := FND_WEB_CONFIG.PROTOCOL||'//'||f.web_host_name;
2648: else
2649: c_anchor := f.web_host_name;
2650: end if;
2651: elsif l_resp_web_host is not null
2650: end if;
2651: elsif l_resp_web_host is not null
2652: then
2653: if (instr(l_resp_web_host, '://') = 0) then
2654: c_anchor := FND_WEB_CONFIG.PROTOCOL||'//'||l_resp_web_host;
2655: else
2656: c_anchor := l_resp_web_host;
2657: end if;
2658: end if;
2717:
2718: fnd_profile.get(name => 'APPS_SERVLET_AGENT',
2719: val => c_anchor);
2720:
2721: c_anchor := FND_WEB_CONFIG.trail_slash(c_anchor)||f.WEB_HTML_CALL||
2722: '?dbc='||FND_WEB_CONFIG.DATABASE_ID||
2723: '&'||'sessionid='||l_encrypted_session_id;
2724:
2725: if l_parameters is not null then
2718: fnd_profile.get(name => 'APPS_SERVLET_AGENT',
2719: val => c_anchor);
2720:
2721: c_anchor := FND_WEB_CONFIG.trail_slash(c_anchor)||f.WEB_HTML_CALL||
2722: '?dbc='||FND_WEB_CONFIG.DATABASE_ID||
2723: '&'||'sessionid='||l_encrypted_session_id;
2724:
2725: if l_parameters is not null then
2726: c_anchor := c_anchor || '&' || l_parameters;
2747:
2748: if(c_anchor is null) then
2749: htp.p(l_message||' not set, contact Administrator');
2750: else
2751: c_anchor := FND_WEB_CONFIG.TRAIL_SLASH(c_anchor);
2752:
2753: index1 := INSTRB(c_anchor, '//', 1) + 2; /* skip 'http://' */
2754:
2755: index2 := INSTRB(c_anchor, '/', index1); /* get to 'http://serv:port/' */
2755: index2 := INSTRB(c_anchor, '/', index1); /* get to 'http://serv:port/' */
2756:
2757: if(index1 <> index2) AND (index1 <> 2) AND (index2 > 2)
2758: AND (index1 is not NULL) AND (index2 is not NULL) then
2759: c_anchor := FND_WEB_CONFIG.TRAIL_SLASH(SUBSTRB(c_anchor, 1, index2-1));
2760: else
2761: htp.p('Invalid '||l_message||', contact Administrator');
2762: c_anchor := '';
2763: end if;
2766: icx_call.encrypt3(icx_sec.createTransaction(
2767: n_session_id,p_resp_appl_id,p_responsibility_id,p_security_group_id,
2768: p_menu_id,c_function_id,p_function_type,p_page_id));
2769:
2770: c_anchor := FND_WEB_CONFIG.trail_slash(c_anchor)||
2771: FND_WEB_CONFIG.trail_slash(icx_sec.g_OA_HTML)||
2772: l_web_html_call;
2773:
2774: fnd_profile.get(name => 'APPS_DATABASE_ID',
2767: n_session_id,p_resp_appl_id,p_responsibility_id,p_security_group_id,
2768: p_menu_id,c_function_id,p_function_type,p_page_id));
2769:
2770: c_anchor := FND_WEB_CONFIG.trail_slash(c_anchor)||
2771: FND_WEB_CONFIG.trail_slash(icx_sec.g_OA_HTML)||
2772: l_web_html_call;
2773:
2774: fnd_profile.get(name => 'APPS_DATABASE_ID',
2775: val => l_dbc);
2775: val => l_dbc);
2776:
2777: if l_dbc is null
2778: then
2779: l_dbc := FND_WEB_CONFIG.DATABASE_ID;
2780: end if;
2781:
2782: if (instr(l_web_html_call,'?') > 0)
2783: then
3033:
3034: if r.web_host_name is not null
3035: then
3036: if (instr(r.web_host_name, '://') = 0) then
3037: c_anchor := FND_WEB_CONFIG.PROTOCOL||'//'||r.web_host_name||'/';
3038: else
3039: c_anchor := r.web_host_name||'/';
3040: end if;
3041:
3038: else
3039: c_anchor := r.web_host_name||'/';
3040: end if;
3041:
3042: c_anchor := FND_WEB_CONFIG.PROTOCOL||'//'||r.web_host_name||c_anchor;
3043: end if;
3044:
3045: if r.PARAMETERS is not null
3046: then
4052: IF p_lang_change=c_language THEN
4053: displaywebuserlocal;
4054: ELSE
4055: IF (substr(icx_plug_utilities.getPLSQLagent, 1, 1) = '/') then
4056: l_agent := FND_WEB_CONFIG.WEB_SERVER||substr(icx_plug_utilities.getPLSQLagent,2);
4057:
4058: ELSE
4059: l_agent := FND_WEB_CONFIG.WEB_SERVER||icx_plug_utilities.getPLSQLagent;
4060:
4055: IF (substr(icx_plug_utilities.getPLSQLagent, 1, 1) = '/') then
4056: l_agent := FND_WEB_CONFIG.WEB_SERVER||substr(icx_plug_utilities.getPLSQLagent,2);
4057:
4058: ELSE
4059: l_agent := FND_WEB_CONFIG.WEB_SERVER||icx_plug_utilities.getPLSQLagent;
4060:
4061: end if;
4062:
4063: l_url:=l_agent||'OracleApps.displaywebuser';
4210: htp.p(l_ret_msg); --bug 2766487
4211: htp.htmlClose;
4212: else
4213:
4214: --l_server := rtrim(FND_WEB_CONFIG.WEB_SERVER,'/'); -- mputman removed 1574527
4215: --return_to_url := l_server || c_url; -- mputman removed 1574527
4216: return_to_url := c_url;
4217: --insert into mbuk_url values (return_to_url);
4218: -- c_url is the url where the user should be returned after the
4564: htp.tableClose;
4565: htp.line;
4566: end if;
4567: htp.p(nvl(c_message,'