DBA Data[Home] [Help]

APPS.ORACLESSWA dependencies on OWA_UTIL

Line 58: owa_util.mime_header('text/html', FALSE);

54: p_function_id => l_function_id,
55: p_parameters => P,
56: p_url_only => 'Y');
57:
58: owa_util.mime_header('text/html', FALSE);
59:
60: owa_util.redirect_url(l_url);
61:
62: owa_util.http_header_close;

Line 60: owa_util.redirect_url(l_url);

56: p_url_only => 'Y');
57:
58: owa_util.mime_header('text/html', FALSE);
59:
60: owa_util.redirect_url(l_url);
61:
62: owa_util.http_header_close;
63:
64: /*

Line 62: owa_util.http_header_close;

58: owa_util.mime_header('text/html', FALSE);
59:
60: owa_util.redirect_url(l_url);
61:
62: owa_util.http_header_close;
63:
64: /*
65: select TYPE
66: into l_function_type

Line 203: owa_util.redirect_url(l_url);

199: l_end := instrb(l_url,'/',-1,1);
200: l_url := substrb(l_url,1,l_end);
201: l_url := l_url||'url/page/'||pagename;
202:
203: owa_util.redirect_url(l_url);
204:
205: exception
206: when others then
207: -- htp.p(SQLERRM);

Line 412: owa_util.mime_header('text/html', FALSE);

408: first_connect = SYSDATE,
409: counter = 1,
410: xsid = l_new_xsid
411: WHERE session_id = l_session_id;
412: owa_util.mime_header('text/html', FALSE);
413: -- Send the new XSID
414: icx_sec.sendsessioncookie(l_session_id);
415: owa_util.redirect_url(l_url_requested);
416: owa_util.http_header_close;

Line 415: owa_util.redirect_url(l_url_requested);

411: WHERE session_id = l_session_id;
412: owa_util.mime_header('text/html', FALSE);
413: -- Send the new XSID
414: icx_sec.sendsessioncookie(l_session_id);
415: owa_util.redirect_url(l_url_requested);
416: owa_util.http_header_close;
417: ELSIF ((l_session_status<>'INVALID') AND (c_user_id = l_anon_id) AND (l_anon_id <> -999) AND (c_user_id <> l_user_id)) THEN
418:
419: icx_sec.setUserNLS

Line 416: owa_util.http_header_close;

412: owa_util.mime_header('text/html', FALSE);
413: -- Send the new XSID
414: icx_sec.sendsessioncookie(l_session_id);
415: owa_util.redirect_url(l_url_requested);
416: owa_util.http_header_close;
417: ELSIF ((l_session_status<>'INVALID') AND (c_user_id = l_anon_id) AND (l_anon_id <> -999) AND (c_user_id <> l_user_id)) THEN
418:
419: icx_sec.setUserNLS
420: (l_user_id,

Line 453: owa_util.mime_header('text/html', FALSE);

449: first_connect = SYSDATE,
450: counter = 1,
451: xsid = l_new_xsid
452: WHERE session_id = l_session_id;
453: owa_util.mime_header('text/html', FALSE);
454: -- Send the new XSID
455: icx_sec.sendsessioncookie(l_session_id);
456: owa_util.redirect_url(l_url_requested);
457: owa_util.http_header_close;

Line 456: owa_util.redirect_url(l_url_requested);

452: WHERE session_id = l_session_id;
453: owa_util.mime_header('text/html', FALSE);
454: -- Send the new XSID
455: icx_sec.sendsessioncookie(l_session_id);
456: owa_util.redirect_url(l_url_requested);
457: owa_util.http_header_close;
458: --end code for preservation of session_id when switching from anonymous user to authenticated user
459: ELSE
460:

Line 457: owa_util.http_header_close;

453: owa_util.mime_header('text/html', FALSE);
454: -- Send the new XSID
455: icx_sec.sendsessioncookie(l_session_id);
456: owa_util.redirect_url(l_url_requested);
457: owa_util.http_header_close;
458: --end code for preservation of session_id when switching from anonymous user to authenticated user
459: ELSE
460:
461: --this is not an anonymous session conversion.. create a new session and send a new cookie!

Line 475: owa_util.mime_header('text/html', FALSE);

471: END IF;
472: l_session_id := icx_sec.createSession
473: (p_user_id => l_user_id,
474: c_mode_code => l_mode);
475: owa_util.mime_header('text/html', FALSE);
476: owa_cookie.send(name=>'DEBUG_COOKIE', value=>'-1', expires=>'', path=>'/');
477: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
478: icx_sec.sendsessioncookie(l_session_id);
479: owa_util.redirect_url(l_url_requested);

Line 479: owa_util.redirect_url(l_url_requested);

475: owa_util.mime_header('text/html', FALSE);
476: owa_cookie.send(name=>'DEBUG_COOKIE', value=>'-1', expires=>'', path=>'/');
477: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
478: icx_sec.sendsessioncookie(l_session_id);
479: owa_util.redirect_url(l_url_requested);
480: owa_util.http_header_close;
481:
482: END IF;
483:

Line 480: owa_util.http_header_close;

476: owa_cookie.send(name=>'DEBUG_COOKIE', value=>'-1', expires=>'', path=>'/');
477: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
478: icx_sec.sendsessioncookie(l_session_id);
479: owa_util.redirect_url(l_url_requested);
480: owa_util.http_header_close;
481:
482: END IF;
483:
484: exception

Line 491: owa_util.mime_header('text/html', FALSE);

487: (nvl(l_apps_sso,'SSWA')='SSWA_SSO')) AND
488: (icx_sec.g_window_cookie_name = 'X')
489: THEN
490: l_url_requested := fnd_sso_manager.getLoginUrl;
491: owa_util.mime_header('text/html', FALSE);
492: owa_util.redirect_url(l_url_requested);
493: owa_util.http_header_close;
494: ELSE
495: raise;

Line 492: owa_util.redirect_url(l_url_requested);

488: (icx_sec.g_window_cookie_name = 'X')
489: THEN
490: l_url_requested := fnd_sso_manager.getLoginUrl;
491: owa_util.mime_header('text/html', FALSE);
492: owa_util.redirect_url(l_url_requested);
493: owa_util.http_header_close;
494: ELSE
495: raise;
496: END IF;

Line 493: owa_util.http_header_close;

489: THEN
490: l_url_requested := fnd_sso_manager.getLoginUrl;
491: owa_util.mime_header('text/html', FALSE);
492: owa_util.redirect_url(l_url_requested);
493: owa_util.http_header_close;
494: ELSE
495: raise;
496: END IF;
497: end sign_on;

Line 538: --lower(owa_util.get_cgi_env('REQUEST_PROTOCOL'))||'://'||

534: l_apps_sso VARCHAR2(30);
535:
536:
537: begin
538: --lower(owa_util.get_cgi_env('REQUEST_PROTOCOL'))||'://'||
539: l_urlrequested :=
540: FND_WEB_CONFIG.PROTOCOL||'//'||
541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||

Line 541: owa_util.get_cgi_env('SERVER_NAME')||':'||

537: begin
538: --lower(owa_util.get_cgi_env('REQUEST_PROTOCOL'))||'://'||
539: l_urlrequested :=
540: FND_WEB_CONFIG.PROTOCOL||'//'||
541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||
543: owa_util.get_cgi_env('SCRIPT_NAME')||
544: owa_util.get_cgi_env('PATH_INFO')||'?'||
545: owa_util.get_cgi_env('QUERY_STRING');

Line 542: owa_util.get_cgi_env('SERVER_PORT')||

538: --lower(owa_util.get_cgi_env('REQUEST_PROTOCOL'))||'://'||
539: l_urlrequested :=
540: FND_WEB_CONFIG.PROTOCOL||'//'||
541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||
543: owa_util.get_cgi_env('SCRIPT_NAME')||
544: owa_util.get_cgi_env('PATH_INFO')||'?'||
545: owa_util.get_cgi_env('QUERY_STRING');
546:

Line 543: owa_util.get_cgi_env('SCRIPT_NAME')||

539: l_urlrequested :=
540: FND_WEB_CONFIG.PROTOCOL||'//'||
541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||
543: owa_util.get_cgi_env('SCRIPT_NAME')||
544: owa_util.get_cgi_env('PATH_INFO')||'?'||
545: owa_util.get_cgi_env('QUERY_STRING');
546:
547: fnd_profile.get(name => 'APPS_SSO',

Line 544: owa_util.get_cgi_env('PATH_INFO')||'?'||

540: FND_WEB_CONFIG.PROTOCOL||'//'||
541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||
543: owa_util.get_cgi_env('SCRIPT_NAME')||
544: owa_util.get_cgi_env('PATH_INFO')||'?'||
545: owa_util.get_cgi_env('QUERY_STRING');
546:
547: fnd_profile.get(name => 'APPS_SSO',
548: val => l_apps_sso);

Line 545: owa_util.get_cgi_env('QUERY_STRING');

541: owa_util.get_cgi_env('SERVER_NAME')||':'||
542: owa_util.get_cgi_env('SERVER_PORT')||
543: owa_util.get_cgi_env('SCRIPT_NAME')||
544: owa_util.get_cgi_env('PATH_INFO')||'?'||
545: owa_util.get_cgi_env('QUERY_STRING');
546:
547: fnd_profile.get(name => 'APPS_SSO',
548: val => l_apps_sso);
549: -- Wait SSO

Line 582: owa_util.redirect_url(l_gen_redirect_url);

578:
579: dbms_sql.close_cursor(l_call);
580:
581: END IF;--apps_sso profile
582: owa_util.redirect_url(l_gen_redirect_url);
583:
584: exception
585: when others then
586: -- htp.p(SQLERRM);

Line 796: owa_util.mime_header('text/html', FALSE);

792:
793: --bug 267712 added L parm to anchor
794: c_anchor := 'OracleSSWA.Execute?F='||F||'&E='||E||'&P='||P||'&L='||L;
795:
796: owa_util.mime_header('text/html', FALSE);
797: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
798: icx_sec.sendSessionCookie(l_session_id);
799: owa_util.http_header_close;
800:

Line 799: owa_util.http_header_close;

795:
796: owa_util.mime_header('text/html', FALSE);
797: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
798: icx_sec.sendSessionCookie(l_session_id);
799: owa_util.http_header_close;
800:
801: RAISE e_refresh_4_cookie;
802:
803: END IF;--cookie

Line 856: owa_util.redirect_url(l_servlet_agent);

852: P_RESP_APPL_ID => l_resp_appl_id,
853: P_RESP_ID => l_responsibility_id,
854: P_SECURITY_GROUP_ID => nvl(l_security_group_id,'0'));
855:
856: owa_util.redirect_url(l_servlet_agent);
857:
858: ELSE
859: IF p IS NOT NULL THEN
860: l_params := icx_call.decrypt(P);

Line 946: owa_util.mime_header('text/html', FALSE);

942: defined_z => l_profile_defined);
943: l_url := FND_WEB_CONFIG.TRAIL_SLASH(l_apps_web_agent);
944: c_anchor := 'OracleSSWA.Execute?E='||wfa_html.conv_special_url_chars(icx_call.encrypt(l_resp_appl_id||'*'||l_responsibility_id||'*'||l_security_group_id||'*'||l_function_id||'*'||'**]'));
945:
946: owa_util.mime_header('text/html', FALSE);
947: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
948: icx_sec.sendSessionCookie(l_session_id);
949: owa_util.http_header_close;
950:

Line 949: owa_util.http_header_close;

945:
946: owa_util.mime_header('text/html', FALSE);
947: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
948: icx_sec.sendSessionCookie(l_session_id);
949: owa_util.http_header_close;
950:
951: select multi_org_flag
952: into l_multi_org_flag
953: from fnd_product_groups

Line 1014: owa_util.mime_header('text/html', FALSE);

1010: l_session_id:=icx_sec.CREATESession(l_user_id, l_mode);
1011: -- l_url := FND_WEB_CONFIG.TRAIL_SLASH(fnd_profile.value('APPS_WEB_AGENT'));
1012: -- c_anchor := 'OracleSSWA.Execute?E='||wfa_html.conv_special_url_chars(icx_call.encrypt(l_resp_appl_id||'*'||l_responsibility_id||'*'||l_security_group_id||'*'||l_function_id||'*'||'**]'));
1013:
1014: owa_util.mime_header('text/html', FALSE);
1015: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
1016: icx_sec.sendSessionCookie(l_session_id);
1017: owa_util.http_header_close;
1018: --- end create new session

Line 1017: owa_util.http_header_close;

1013:
1014: owa_util.mime_header('text/html', FALSE);
1015: owa_cookie.send(name=>'WF_WORKLIST_MODE', value=>'-1', expires=>'', path=>'/');-- mputman added for 1903545
1016: icx_sec.sendSessionCookie(l_session_id);
1017: owa_util.http_header_close;
1018: --- end create new session
1019:
1020: END IF;
1021:

Line 1168: owa_util.mime_header('image/gif', FALSE);

1164: -- '00000D000D0040041FF0C949'||
1165: -- '2B618CD4C92AD65B2872DF73'||
1166: -- '4965088EEC8865CF4BAE64AA'||
1167: -- 'D2ED1601003B');
1168: owa_util.mime_header('image/gif', FALSE);
1169: -- Reset cookie
1170: owa_cookie.send
1171: (
1172: name => icx_sec.getsessioncookiename,

Line 1181: owa_util.redirect_url('/OA_MEDIA/completeind_status.gif');

1177: --htp.p('Content-Length: ' || length(l_img));
1178: htp.p('Expires: Thu, 29 Oct 1970 17:04:19 GMT');
1179: htp.p('Pragma: no-cache');
1180: htp.p('Cache-Control: no-cache');
1181: owa_util.redirect_url('/OA_MEDIA/completeind_status.gif');
1182: owa_util.http_header_close;
1183: --wpg_docload.download_file(l_img);
1184: EXCEPTION
1185: WHEN OTHERS THEN

Line 1182: owa_util.http_header_close;

1178: htp.p('Expires: Thu, 29 Oct 1970 17:04:19 GMT');
1179: htp.p('Pragma: no-cache');
1180: htp.p('Cache-Control: no-cache');
1181: owa_util.redirect_url('/OA_MEDIA/completeind_status.gif');
1182: owa_util.http_header_close;
1183: --wpg_docload.download_file(l_img);
1184: EXCEPTION
1185: WHEN OTHERS THEN
1186: -- htp.p(sqlerrm);