Not able to send HTML content in E-mail Apex

Hello

I use Oracle Apex 4.2 and Oracle 11g XE

I am trying to add HTML content into the procedure of apex_send mail. But it gives me the error below.

> > •ORA-06502: PL/SQL: digital error or value: specified incorrect LOB Locator: ORA-22275


Here is the code I am trying to add in the mail to apex_send


DECLARE
l_from varchar2 (1000);
l_body CLOB.
l_body_html CLOB.

BEGIN
l_body: = null;

l_body_html: = '
<! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< html >
< head >
< meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
< property meta = "og: title" content = "Seasons Greetings from sudhir networks" / >

< title > Seasons Greetings of sudhir networks < /title >
< style type = "text/css" >
/ * Client-specific styles * /.
#outlook {padding: 0 ;} / * Force Outlook to provide a "view in browser" button.} */
Body {width: 100%! important;}. ReadMsgBody {width: 100%;}. ExternalClass {width: 100% ;} / * Force Hotmail to display the emails to full-width * /}
body {- webkit - text-size-adjust: none ;} / * platforms Webkit preventing to change the default text sizes.} */

/ * Reset Styles * /.
Body {margin: 0; padding: 0 ;}}
IMG {border: 0; height: auto; line-height: 100%; border: none; text-decoration: none ;}}
table td {border-collapse: collapse ;}}
#backgroundTable {height: 100%! important; margin: 0; padding: 0; width: 100%! important ;}}

body {#backgroundTable}
/*@Editable*/ background-color: #FAFAFA;
}
{#templateContainer}
/*@Editable*/ border: 1px solid #DDDDDD;
}
H1, .h1 {}
/*@Editable*/ color: #202020;
Display: block;
/*@Editable*/ do-family: Arial;
/*@Editable*/ font-size: 34px;
/*@Editable*/ make-weight: bold;
/*@Editable*/ line-height: 100%;
margin-top: 0;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
/*@Editable*/ text-align: left;
}
H2, .h2 {}
/*@Editable*/ color: #202020;
Display: block;
/*@Editable*/ do-family: Arial;
/*@Editable*/ font-size: 30px;
/*@Editable*/ make-weight: bold;
/*@Editable*/ line-height: 100%;
margin-top: 0;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
/*@Editable*/ text-align: left;
}
H3, .h3 {}
/*@Editable*/ color: #202020;
Display: block;
/*@Editable*/ do-family: Arial;
/*@Editable*/ font-size: 26px;
/*@Editable*/ make-weight: bold;
/*@Editable*/ line-height: 100%;
margin-top: 0;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
/*@Editable*/ text-align: left;
}
H4 {.h4}
/*@Editable*/ color: #202020;
Display: block;
/*@Editable*/ do-family: Arial;
/*@Editable*/ do-size: 22px;
/*@Editable*/ make-weight: bold;
/*@Editable*/ line-height: 100%;
margin-top: 0;
margin-right: 0;
margin-bottom: 10px;
margin-left: 0;
/*@Editable*/ text-align: left;
}
{#templatePreheader}
/*@Editable*/ background-color: #FAFAFA;
}
.preheaderContent div {}
/*@Editable*/ color: #505050;
/*@Editable*/ do-family: Arial;
/*@Editable*/ do-size: 10px;
/*@Editable*/ line-height: 100%;
/*@Editable*/ text-align: left;
}
.preheaderContent div one: link, .preheaderContent div one: visited, / * substitute Yahoo! Mail * / div .preheaderContent a .yshortcuts / * substitute Yahoo! Mail * / {}
/*@Editable*/ color: #336699;
/*@Editable*/ police-weight: normal;
/*@Editable*/ text-decoration: underline;
}
{#templateHeader}
/*@Editable*/-Couleur background: #FFFFFF;
/*@Editable*/ border-bottom: 0;
}
{.headerContent}
/*@Editable*/ color: #202020;
/*@Editable*/ do-family: Arial;
/*@Editable*/ font-size: 34px;
/*@Editable*/ make-weight: bold;
/*@Editable*/ line-height: 100%;
/*@Editable*/ padding: 0;
/*@Editable*/ text-align: center;
/*@Editable*/ vertical-align: middle;
}
.headerContent a: link, .headerContent a: visited, / * substitute Yahoo! Mail * / .headerContent a .yshortcuts / * substitute Yahoo! Mail * / {}
/*@Editable*/ color: #336699;
/*@Editable*/ police-weight: normal;
/*@Editable*/ text-decoration: underline;
}

{#headerImage}
height: auto;
Max-width: 600px;
}
#templateContainer, {.bodyContent}
/*@Editable*/-Couleur background: #FFFFFF;
}
.bodyContent div {}
/*@Editable*/ color: #505050;
/*@Editable*/ do-family: Arial;
/*@Editable*/ do-size: 14px;
/*@Editable*/ line-height: 150%;
/*@Editable*/ text-align: left;
}
.bodyContent div one: link, .bodyContent div one: visited, / * substitute Yahoo! Mail * / div .bodyContent a .yshortcuts / * substitute Yahoo! Mail * / {}
/*@Editable*/ color: #336699;
/*@Editable*/ police-weight: normal;
/*@Editable*/ text-decoration: underline;
}

.bodyContent img {}
Display: inline;
height: auto;
}
{#templateFooter}
/*@Editable*/-Couleur background: #FFFFFF;
/*@Editable*/ border-top: 0;
}

.footerContent div {}
/*@Editable*/ color: #707070;
/*@Editable*/ do-family: Arial;
/*@Editable*/ do-size: 12px;
line /*@editable*/-hauteur: 125%;
/*@Editable*/ text-align: left;
}
.footerContent div one: link, .footerContent div one: visited, / * substitute Yahoo! Mail * / div .footerContent a .yshortcuts / * substitute Yahoo! Mail * / {}
/*@Editable*/ color: #336699;
/*@Editable*/ police-weight: normal;
/*@Editable*/ text-decoration: underline;
}

.footerContent img {}
Display: inline;
}

{#social}
/*@Editable*/ background-color: #FAFAFA;
/*@Editable*/ border: 0;
}

#social div {}
/*@Editable*/ text-align: center;
}

{#utility}
/*@Editable*/-Couleur background: #FFFFFF;
/*@Editable*/ border: 0;
}
#utility div {}
/*@Editable*/ text-align: center;
}

#monkeyRewards img {}
Max-width: 190px;
}
< / style >
< / head >
< body leftmargin = "0" marginWidth don't = "0" topmargin = "0" marginheight = "0" offset = "0" >
< center >
< table border = "0" cellpadding = "0" cellspacing = "0" height = "100%" width = "100%" id = "backgroundTable" >
< b >
< td align = "center" valign = "top" >

< table border = "0" cellpadding = "0" cellspacing = "0" width = "600" id = "templateContainer" >
< b >
< td align = "center" valign = "top" >
<!-/ / start model header------->
< table border = "0" cellpadding = "0" cellspacing = "0" width = "600" id = "templateHeader" >
< b >
< class td 'headerContent' = >
< img src = "http://www.sudhirnetworks.com/i/logo/sudhir-logo.png" style = "max-width: 600px;" padding-top: 20px; "id ="headerImage campaign-icon"mc:label ="header_image"mc:edit ="header_image"mc:allowdesigner mc:allowtext / >
< table >
< /tr >
< /table >
<!-/ / end Header Template------->
< table >
< /tr >
< b >
< td align = "center" valign = "top" >
<!-/ / start model body--->
< table border = "0" cellpadding = "0" cellspacing = "0" width = "600" id = "templateBody" >
< b >
< td valign = "top" class = "bodyContent" >

<!-/ / start Module: Content Standard postal card------->
< table border = "0" cellpadding = "20" cellspacing = "0" width = "100%" >
< tr mc: repeatable >
< td valign = "top" >
< img src = "http://www1.sudhirnetworks.com/ecard/sudhir_holidaycard_clickhere.jpg" style = "width: 560px;" mc:label = "postcard_image" mc:edit = mc:allowtext "postcard_image" / >
< div mc:edit = "std_content00" >
< Facilities > < strong > custom message goes here.


< / div >
< table >
< /tr >
< /table >
<!-/ / end of Module: Content Standard postal card------->

< table >
< /tr >
< /table >
<!-/ / end of model body--->
< table >
< /tr >
< /table >

< table >
< /tr >
< /table >
< /Center >
< / body >
< / html >
';

l_from: = lower(:app_user) | Lower('@sudhirnetworks.com');

() apex_mail. Send
p_to = >: P1_TO,.
P_FROM = > l_from,.
p_body = > l_body,
p_body_html = > L_BODY_HTML,
p_subj = >: P1_SUBJECT);

APEX_MAIL. PUSH_QUEUE;

END;


Please suggest me how to solve this problem.

Thank you
Sudhir

Sudhir_Meru wrote:
I'll add the message in the body, the question do face is now with html code. Please address this question. not the text of the aircraft.

Please read carefully the answers before answer you.

Trent has clearly mentioned that you must fill in the p_body parameter

And also read the documentation for the parameters for the send procedure

You must pass a value in p_body and it's not question of what format you want to send your email.

See you soon,.
Vikram

Tags: Database

Similar Questions

  • Bluetooth connectivity - although get all paired devices, but not able to send and receive any file.

    I always found the problem when connecting Bluetooth devices. Although that devices paired but not able to send and receive any file.

    Please guide.

    Hello

    Don't forget to check with your system/motherboard manufacturer Support as long as that
    the real peripheral manufacturer. Updated the BIOS and drivers from the chipset (both can affect the)
    BT) and BT drivers to their online resources.

    Read these:

    Why isn't Windows find my Bluetooth or other wireless devices
    http://Windows.Microsoft.com/en-AU/Windows-8/why-isn ' t-windows-conclusion-device
    Device advice
    http://www.Bluetooth.com/pages/device-advice.aspx

    Microsoft - hardware and drivers
    http://Windows.Microsoft.com/en-us/Windows/hardware-drivers-help#hardware-drivers-help=Windows-8

    Why Windows is not find my device?
    http://Windows.Microsoft.com/en-us/Windows-8/why-isn ' t-windows-conclusion-device

    What happens if a device is not installed correctly
    http://Windows.Microsoft.com/en-us/Windows-8/what-device-isn ' t-installed-correctly

    BluetoothView is a small utility that runs in the background and monitor the activity of
    Bluetooth devices around you. For each detected Bluetooth device, it displays the following
    information: device name, address, Major Device Type Bluetooth Type device minor, first
    Detection time, last detection time and more. BluetoothView can also inform you when a
    new Bluetooth device is detected, by displaying a balloon in your bar tasks or playing a
    a quiet sound signal. -FREE
    http://www.NirSoft.NET/utils/bluetooth_viewer.html

    BluetoothCL is a small console application that transforms all current detected bluetooth devices
    to the standard output. For each Bluetooth device, the following information is displayed:
    Address MAC, Minor Device Type, Device Type Major and possibly society
    name of the device (if the external file of MAC addresses - oui.txt is provided) - FREE
    http://www.NirSoft.NET/utils/bluetoothcl.html

    BluetoothLogView is a small utility that monitors the activity of Bluetooth devices
    you and displays a log of the devices in the main window. Whenever a new
    Peripheral Bluetooth comes in your area and when the appliance leaves your area, a new line of log
    is added the following information: device name, device address, time of the event, event
    Type ("Device arrival" or "Equipment Left"), Type of aircraft and the company that created the device.
    BluetoothLogView also allows you to specify a description for each device (according to her)
    MAC address) that appears in the column "Description". -FREE
    http://www.NirSoft.NET/utils/bluetooth_log_view.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • I can receive email with outlook express, but am not able to send e-mail

    I can receive e-mail using Outlook Express but am not able to send. My email is a live.com... Here's an error message that I keep getting...

    . The message could not be sent because the server rejected the sender's e-mail address. E-mail address of the sender was * address email is removed from the privacy *'. Subject 'Looking for my first home', account: 'pop3.live.com', server: 'smtp.live.com', Protocol: SMTP, server response: ' 550 5.7.3 abandoned required action; user not authenticated ', Port: 25, secure (SSL): no, Server error: 550, error number: 0x800CCC78.

    Here's another... Your server suddenly put an end to the connection. The possible causes for this include server problems, network problems, or a long period of inactivity. Account: 'pop3.live.com', server: 'smtp.live.com', Protocol: SMTP, Port: 25, secure (SSL): no, error number: 0x800CCC0F. Can you walk me through how to fix this? Thank you

    Hello

    Have you made changes on the computer before this problem?
     
    I suggest you to try the steps in the following Microsoft article and check if this may help.
    OLEXP: you are prompted repeatedly for credentials when you connect your e-mail server:
    OLEXP: "The Message could not be sent" Error Message When send you Mail by server IMAP of CompuServe: http://support.microsoft.com/kb/310876
     
    Hope the information is useful.
  • Security Alert: your current security settings do not allow to send HTML Forms.

    Your current security settings do not allow to send HTML Forms.

    Your current security settings do not allow to send HTML Forms.

    Try this... no guarantee.
    Start button > Search box, type internet options > pressenter > on the window Internet Options, click Security >custom level button > scroll down to find 'Submit data form nonencripted ', click ENABLE > OK > OK

    t-4-2

  • BlackBerry Z3 not able to send or receive e-mails in the HUB

    I am not able to send or receive email notifications facebook hub hub are fine sometimes the problem persists with whatsapp too but surfing the internet through browser is very good. I tried to remove the account setting email and add it back but he says right now, that your email account can not be added please try again later.

    I use the data via a Wifi and not tried mobile data hollow

    Hello

    Rare

    mmm

    Try a different network WiFi

    Concerning

  • BlackBerry smartphones not able to send SMS

    Hi all

    I am not able to send SMS from my smart phone BlackBerry for the last day. I checked all the possible things, including my network, the settings of message, etc. I am able to choose contacts and messages of type, but when I try to send it it gets hanged, the track pad doesnot send it... even if I try to click on the Green tab for options to choose from, it doesnot wrk... so I have to press back, once I press back I see the typed message highlighted in green in my message box and if I click on it it goes away. The Envoy of sending doesnot show the message also when I check with the recipient to inform that the message is not delivered. Could someone advice why this can happen? also is it due to a virus? If so can the analysis and restore back up my curve with difault settings... reuqest you please please reply back soonnnnnnnnnnnnnn... My curve model is 8520, VODAFONE and OS v5.0 carrier...

    Thank you

    Steeven

    Perform a simple reboot on the BlackBerry this way: with smart BlackBerry poweredphone, remove the battery for a minute and then reinsert the battery to restart. A reboot in this manner is prescribed for most defects and errors of operating system, and you will lose any data on the device doing so.

    Now after restarting and baseline activity calmed down, try again your SMS.

    And no, there is no virus on your BlackBerry or any BlackBerry. Has never been yet, you're not the first.

  • How to make a record that I downloaded on my computer and to make into smaller files so that I'd be able to send them an existing voice mail? From now on, the file is large to send

    How to make a record that I downloaded on my computer and to make into smaller files so that I'd be able to send them an existing voice mail? From now on, the file is large to send.

    Hi kristieann,

    ·         What version of the operating system is installed on the computer?

    You can search for any third-party application, using your favorite search engine to split the recording file.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

  • I'm not able to open html files in firefox after I saved it.

    After you have saved the html files, I'm not able to open it, and it is showing the blank page. Please suggest solutions.

    Have you tried opening them with:

       New Tab>>File>>Open File
    
  • I'm not able to send any email from Windows Live Mail

    I looked at more than a hundred topics regarding this situation and none to help me on this problem. I have 3 email accounts that I use with Windows Mail and none is able to send e-mails. I looked and looked and looked at my settings and everything is correct.

    Help, please!
    The connection to the server has failed.
    Topic "why used send u.
    Server: 'smtp.q.com '.
    Windows Live Mail error ID: 0x800CCC0E
    Protocol: SMTP
    Port: 587
    Secure (SSL): No.
    Socket error: 10060
    The connection to the server has failed.
    Topic "why used send u.
    Server: 'smtp.gmail.com. '
    Windows Live Mail error ID: 0x800CCC0E
    Protocol: SMTP
    Port: 587
    Secure (SSL): Yes
    Socket error: 10060

    Well, it's Windows Mail or Windows Live Mail?

    I immediately see the bat that your Gmail settings are not correct.

    Activation of POP in your Gmail account
    http://mail.Google.com/support/bin/answer.py?answer=13273

    How to configure gmail in Windows Mail & Windows Live Mail
    http://mail.Google.com/support/bin/answer.py?answer=86383

    Check your search parameters.
    http://myqwest.com/files/Qwest/support/other_email_apps/windows_mail.php

    Analysis of e-mail may be at fault here too. Disable analysis in your e-mail anti-virus program. It is a redundant layer of protection that devours the CPUs, slows down sending and receiving and causes a multitude of problems such as time-outs, account setting changes and has even been responsible for the loss of messages. Your up-to-date A / V program will continue to protect you sufficiently. For more information, see:
    http://www.oehelp.com/OETips.aspx#3

    Why you don't need your anti-virus to scan your email
    http://thundercloud.NET/infoave/tutorials/email-scanning/index.htm

    Note that for many AV programs, it may be necessary to uninstall the program and reinstall in custom Mode and uncheck e-mail scanning when the option is available.

  • simple able to receive e-mails, & replay most of the e-mails, but not able to send emails. Don't respond to simple forward, clear instructions, no technique mutilated * answers please.

    simple emails sent not able to do.

    simple emails sent not able to do.

    1. Who is your provider of mail service?
    2. What email client are you using (program/application you start to send and receive e-mail)?
    3. How to configure the mail client (where you got the instructions how to set it up)?
    4. You get errors when you try to SEND a new e-mail message (since you say that you can respond to most emails) and if so - what are they (verbatim)?
  • Messages received that he had problems with Windows Live. I am not able to send emails in Hotmail.

    original title: hotmail

    Today we had the messages he had problems for windows live. We are not able to pass anything on hotmail and computer he is slow

    Hello

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • Desktop icons can be seen on the desktop, folders are not able to be open, content is not visible; File save option does not work!

    Recently, I tried to re - install samsung smarthru mfp program (already installed and working except the scan).

    at the end of the reinstall the Office is empty, desktop wallpaper and all records of icons could not be seen, I wasn't able to use windows Explorer.

    I tried restoring the system, but even after that the message that the restore system was not made completely.

    Now the problems are that (1) folders/icons on the desktop are not displayed on the desktop (I have added Office to taskbar and all office files can be accessed from there.

    (2) the big problem is that folder except option does not work: cannot save Web pages, also the documents/files are not able to be saved after having published a new name.

    (3) new folder names the names of the files are not created.

    I tried norton internet security 2010 full scan, there is no virus.

    kindly help

    Thank you

    Norton will be interefe with system restore.

    Read this info for problems with the system restore:

    http://Service1.Symantec.com/support/sharedtech.nsf/pfdocs/2005113009323013

    1. If you use Norton (Etc), disable it before using System Restore. info at the link above.

    2. try SR in safe mode:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    3 Malware will stop at the system restore:

    If necessary, do all the workSafe Mode with network.

     

    To get intoSafe Mode with network, press F8 at the Power On / boot and use key arrow upward to get intoSafeMode with networking from the list of options, and then press ENTER.

    http://www.Malwarebytes.org/MBAM.php

    Malwarebytes is as its name suggests, a Malware Remover!

    Download the free Version from the link above.

    Download, install, upgrade and scan once a fortnight.

    See you soon.

    Mick Murphy - Microsoft partner

  • Not able to send multiple files via bluetooth

    I have had this problem since I bought my laptop. I am able to send only one file. In other words, when I right click on the file you want, there is a separate option "send to Bluetooth" allows me to transfer a single file to my phone or another laptop. But when I select several files and right-click on it and select ' send to--> Bluetooth device ", a window opens but it doesn't detect other bluetooth devices. I would also like to add that the drivers are updated and devices are in the range. The options "Send to Bluetooth" and "send to--> Bluetooth Device" are different. I'd be happy if someone gave me the solution.

    My laptop: HP Pavilion DV6 - 6006tu
    Operating system: Microsoft Windows 7 Home Premium

    Thank you.

    Hello

    Method 1:
    Try first to add and pair the device and then try to send files via Bluetooth. You can follow the below mentioned article that will give you information on add a Bluetooth device to your computer:
    http://Windows.Microsoft.com/en-us/Windows7/add-a-Bluetooth-enabled-device-to-your-computer
     
    Method 2:
    You can see the laptop manual to see the steps on how to send multiple files via Bluetooth or check Bluetooth section for the information you are looking for.
     
    Let us know if it helps!

  • FOLLOWED THE INSTRUCTIONS INCOMING AND OUTGOING STILL NOT ABLE TO SEND AN EMAIL.

    QUESTION BY E-MAIL:

    FOLLOW-UP iMAC SETTINGS for ROGERS.

    THE SETTINGS OF MAIL SERVER INCOMING AND OUTGOING SERVER AS WELL. ALWAYS IMPOSSIBLE to SEND the incoming SERVER icloud MAIL READS. PO4, map.mail.me.com and outgoing readings ROGERS (OFFLINE)

    ISTHERE A WAY TO CHANGE THE SETTINGS? THANKS ELLIE

    OS X Yosemite 10.10.5

    Serial number. D2 * 8J7

    It is difficult to read.  Please use the top & bottom case.

    Please provide a link to the instructions.

    Please provide image on the screen to how you have configured these settings.

    -------------------------------

    How to show an image on the screen.  Avoid personal identification.

    on Mac, you do:

    Command + shift + 3 will have the entire screen.  You hear a click.

    Command-shift-4 lets you decide what to take.  Changes of mouse pointer. Move the mouse to the upper left corner of the image of desire.  Press and hold the left key of the mouse to start the image.  Drag the mouse to lower left where you want to stop the image.  Mouse release.

    You will get a .png file to the desktop image.

    On the entrance sign of the forum, you will see the camera icon.

    Click on the camera icon.

    another window will appear.

    Make sure you have selected the in your the computer tab.

    Click the Browse button

    A Panel to open the file.  Select the file.

    After selecting a file, I have this screen showing.

    You need to click Insert Image.  You may need to scroll down to see the button to insert an Image.

    R

  • Integration of EBS-Apex - not able to get cookies in the shape of apex

    Hello

    I'm trying to connect shapes apex with E-Business Suite.

    I wrote the following code in the PL/SQL called by the function of the form:

    -------------
    OWA_UTIL.mime_header (' text/html', false);
    OWA_COOKIE. Send
    (name = > 'APEX_APPS_': application,)
    value = > FND_GLOBAL.user_name |': ' | apex_generate_hash (FND_GLOBAL.user_name),
    path = > ' / '.
    );

    OWA_UTIL. REDIRECT_URL ("http://xxxxxxxx:xxxx / bus/apex/f?") p ='|| request: ': ' | page: ': ' | Re

    Quest: ': ' | item_names |': ' | item_values);

    ----------------

    Then I wrote this piece of code to read the cookie "before the process" section of the APEX

    page I called above:

    ---------------
    DECLARE
    c OWA_COOKIE.cookie;
    a wwv_flow_global.vc_arr2;
    BEGIN
    c: = OWA_COOKIE.get('APEX_APPS_'||:APP_ID);
    a: = htmldb_util.string_to_table (c.vals (1));
    .
    .

    -------------

    This results is NO_DATA_FOUND which means I'm not able to get the cookie.

    I've checked and matched cookie APEX_APPS_ < ID app > name in both places.

    Can someone help me please? Why I am not able to get the cookie in the form of the apex?

    Thank you.

    : FSP_AFTER_LOGIN_URL: = 'http://xxxxxx.xxxx.com:7779 / bus/apex/f? p = 103:21 :'||: APP_SESSION |': & ptrace = YES;

    There should be no previous colon & ptrace = YES.

    The first two of them:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    You have not authenticated, and yet, there is no cookie, where a session or a username can be obtained.

    P_FLOW_PAGE =>: APP_ID | ": 21' |': & ptrace = 'YES);

    You cannot use & ptrace here.

    The next two years:

    insert into temp12345 values (' session id ' | wwv_flow_custom_auth_std.get_session_id_from_cookie);
    insert into temp12345 values ('username' | wwv_flow_custom_auth_std.get_UserName);

    The cookie is sent to the browser to the login procedure. You can not access a cookie sent in an HTTP request in the same HTTP request. You will be able to access the next page, after the redirect to the login page after termination.

    Scott

Maybe you are looking for