Apex in IFRAME cookie issue (P3P (IE6 +))

Hi all

I'm having a problem with IE not displaying no not my content in an IFrame - due to the EI trust don't not cookies from the Apex.

This issue has been resolved on the Apex forum in 2009 - https://forums.oracle.com/thread/887792

The solution was to set policy P3P response header from the web server:

For example

1 PHP

header ("P3P:CP =" IDC DSP COR ADM DEVi tail PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');

2 ASP.NET

HttpContext.Current.Response.AddHeader ('p3p', ' CP =------"IDC DSP COR ADM DEVi tail PSA PSD IVAi IVDi CONi HIS OUR IND CNT\" "" ");

3. apex solution

I have add this section to the file httpd.conf (Apache proxy)

* < IfModule mod_headers.c > *.

' Defined header P3P "policyref=\"/w3c/p3p.xml\", CP =-"NOI DSP COR CUR ADM DEV BUS\ OUR NEST""

* < / IfModule > *.


Now, I have the same problem but I am hosted in the cloud.


Here is a page with my built-in content - (Bradford United): test the widget - SACU


It works fine on chrome/firefox...


Is there another way to define the P3P header in the cloud of the database?


A big thank you


Steve

Hi Christian,

Thanks for looking this...

That has not fixed it :-(

However, I used to inspect response headers and found that unless the page I was trying to access has been LOGIN_DESKTOP so the answer has been: 302 moved temporarily

Content (coded: 0.24 KiB / decoded: 0.37 KiB)

302 Moved Temporarily  

This document you requested has moved temporarily.

It's now at https://production001-demandanalysis.db.em1.oraclecloudapps.com/apex/f?p=20300147:111:0:::::">https://production001-demandanalysis.db.em1.oraclecloudapps.com/apex/f?p=20300147:111:0:::::.

This may have caused the error in the iFrame...

So I changed the Home URL and the URL to connect to: f? p = &: 111:0 APP_ID.

and it now seems to load correctly :-)

Thanks again

Steve

Tags: Database

Similar Questions

  • Apex integration with ebs 11i Cookie issue

    Hi all
    I've done integration (11i) EBiz with Apex. To do this, I followed the white paper by Rod West i.e. apex-ebs-wp-cabot-consulting-169064.pdf
    It was working fine. but once I got past the deadline as 3 (previously 60 sec) in the validate_hash function, it starts giving problem.
    The main problem is the only error in the first, when we try to identify of Ebiz. If I try again once or twice he started to work very well. I have no idea on whats going on.
    Please help as soon as POSSIBLE.


    Thanks in advance,
    Ananya

    Hello

    The generate_hash and validate_hash functions are used to generate a secondary password for the user of the EBS to connect at the Apex. To make sure there is a timeout built into the function so that the password cannot be reused. The first time that apex is used there is some overhead in loading the tables, packages etc. in memory and so time between production and the use of the password is longer than normal. That's why you get a timeout when you first try to connect to the EBS. Set the timeout high so that there is no time-out or save the password in a package variable so that it is available for the duration of the session.

    Rod West

  • Upgrading from 4.0.2.00.08 to 4.1.1.Any APEX probs or compatibility issues?

    Hi all
    I a m planning the Application Express 4.0.2.00.08 to 4.1.1 upgrade.
    There will be problems of compatibility or conflict likely to occur?

    Thanks and greetings
    Umer

    Hi Umer,

    According to customer relationships I would expect that there are no conflicts or compatibility issues when you upgrade to point 4.1.1.
    Only in the field of custom authentication schemes it might be hickups because this area much changed in 4.1.1
    but it really depends on how your custom authentication scheme consistent standard is.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Cannot open certain Pages of the Apex in IFrame - Help!

    Hi all
    I have an IFrame in an HTML area. And I could see apex pages of an another worspace (TraineesWorkspace), but I couldn't tie one of my own workspace pages (SampleWorkspace). It shows "this content cannot be displayed in a frame. Is there a setting I need to change? Please help me with this.

    Under the components of demand, shared, change the definition, the Security tab, browser security:

    Integrating in frameworks:

    Deny: The page cannot be displayed in a frame, regardless of the site to try to do.
    Allow same origin: the page can only be displayed in a frame on the same origin as the page itself.
    Allow: The page can be displayed in any image.

  • Apex in iframe broken in 4.1?

    Hello

    I am facing a strange problem after that I upgraded application Express to 4.1.

    Each new application I create, will not work in an iframe. The image appears as empty (with Inspector of the part chrome showing the content simply as < html > < head > < / head > < body > < body / > < / html >)

    But older applications (created in 4.0 and earlier) they appear fine without problems.

    I tried all the themes in 4.1 all do not work in an iframe and if I create pages in an older application, new pages work fine in an iframe.

    So, there are a few changes in article 4.1, which seems to break apex apps in iframes.

    I watched the sequence of events in the network of Chrome from the Developer Tools tab. I see a request for the 'f' with a response of "302" (temporarily moved), which is fine, it's the session redirection mechanism.
    So, I see another request for the 'f', which gets the response of "cancelled".

    I can get an apex error message to show pointing to a non-existent page in a 4.1 new app, but it's the only answer I've been able to get...

    Any ideas anyone?

    Oli

    Hi Oli,

    This is a new security feature to prevent clickJacking attacks. For new applications, it is turned on, to those that already exist, it is disabled.
    Please see shared components > security attributes > browser-> Embed in frames security

    There should also be something in the Notes, but I couldn't find it. I will examine why he isn't here.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Google docs has suddenly said there is a cookie issue. Worked well until recent days.

    He said to ensure that cookies are enabled. And I went to authorized privacy of websites to follow me. It still does not work. Then he said that maybe I need to clear my cache and cookies. There is no Info for Firefox versions past 3.5, so I have no idea what to do now. If something can be done. Google Docs still works fine in Chrome.

    To display all parameters of the history and cookies, use:

    • Tools > Options > privacy > Firefox will be: "use the custom settings for history".
    • Press F10, or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.
    • Use "Firefox > Options" instead of "tools > Options" If the menu bar is hidden.
  • Cookie issue

    With the help of W7, IE11. Recently could not enter the only one of my forums, although another poster in this forum confirms site is OK. Al other forums OK. For this I get the message re cookie problem. Been in tools > Internet Options > privacy > Sites and this forum is set on "always allow the ' cookies. So, what gives it please?

    Yes :)

  • Performance (listener APEX) glassFish and ADR issues

    Hello world

    We have a number of applications available APEX to APEX Listener installed on 4.1 GlassFish (Open Source Edition). The APEX is version 2.0.9.224.01.07.

    Any installation is using the default values, the documentation available now.

    The problem is that after a while (two days, maybe weeks) the answer is really slow, which means you have to wait a few minutes to change pages or get the application to react. While everything works normally by another instance of GlassFish and auditor of the APEX, which means that everything is ok with the database and the problem must be with the GlassFish and/or listener of the APEX. After you restart GlassFish domain things to improve for a while, but finally that we are facing problems of performance even. There is nothing suspicious in the newspapers of GlassFish, and we do not know where to look further.

    I tried the web search for more information on how to configure GlassFish and APEX listener for the documentation and production environments, but did not find much. We increased settings memory JVM for GlassFish to 2 GB, but I would like to know is there something else about the GlassFish settings (son HTTP, JDBC, pool etc.) we could do to avoid the problems described, or is there a way to detect what is the real problem. Any suggestions or pointers to relevant documents?

    Thanks in advance,

    Bruno

    Hi bruno2,

    bruno2 wrote:

    We have a number of applications available APEX to APEX Listener installed on 4.1 GlassFish (Open Source Edition). The APEX is version 2.0.9.224.01.07.

    Any installation is using the default values, the documentation available now.

    The problem is that after a while (two days, maybe weeks) the answer is really slow, which means you have to wait a few minutes to change pages or get the application to react. While everything works normally by another instance of GlassFish and auditor of the APEX, which means that everything is ok with the database and the problem must be with the GlassFish and/or listener of the APEX. After you restart GlassFish domain things to improve for a while, but finally that we are facing problems of performance even. There is nothing suspicious in the newspapers of GlassFish, and we do not know where to look further.

    I tried the web search for more information on how to configure GlassFish and APEX listener for the documentation and production environments, but did not find much. We increased settings memory JVM for GlassFish to 2 GB, but I would like to know is there something else about the GlassFish settings (son HTTP, JDBC, pool etc.) we could do to avoid the problems described, or is there a way to detect what is the real problem. Any suggestions or pointers to relevant documents?

    For ADR + Glassfish performance should be on two fronts:

    • Side of GlassFish:

    As you use 4.1 GlassFish (Open Source Edition) you should refer to the official documentation for Glassfish 4.

    Reference: https://glassfish.java.net/docs/4.0/performance-tuning-guide.pdf

    But as I've used Oracle Glassfish Server 3.1 which comes with the integrated tuner. I just follow the following documentation:

    Reference: https://docs.oracle.com/cd/E18930_01/html/821-2431/toc.html and https://docs.oracle.com/cd/E18930_01/html/821-2431/gkxwm.html

    • Side of ADR:

    The performance tuning side ADR includes the correct JDBC settings in the ADR configuration files.

    Reference: http://krisrice.blogspot.in/2012/05/apex-listener-jdbcsecurity-setup.html

    So, set your ADR for instance so that you get the performance you want. For this you will need: change the JDBC settings-> load/stress test and repeat this operation.

    Stress/load tests is shown by Morten Bråten in the following blog in his blog series about ADR.

    Reference: ORA-00001: Unique constraint violated: ADR, installation Oracle XE and Apex on CentOS - part fourth: Stress tests

    NOTE: This blog is for ADR + Apache Tomcat, but ADR configuration settings remain the same in your case.

    Finally, if you want to see more practical best ADR with Oracle APEX follow the slides for "ADR in the Production" by Dietmar Aust.

    Reference: daust_de: Oracle XE / APEX: presentation for my ADR slides talk to KScope 2015

    NOTE: This presentation is also to ADR + Apache Tomcat, but things related to ADR are same in your case.

    Also, as this thread is related to ADR, you must move this thread to the appropriate forum: ADR, SODA & JSON in the database

    Kind regards

    Kiran

  • Apex Explorer 5.0 issues (302 moved temporarily)

    For me, working with Apex 5.0 in Firefox is a little proof. New browser instances all the time opening and in no time you don't know what what is more. But I do not know everything down to get used to it.

    But what's really annoying, that when you open a new tab I can not navigate to other sites more. The browser gives me a message 302 or it just won't do anything.

    What happens here?

    Hi René,.

    You can change the preferences of the user to run the application in a new window No. to go to preferences click on your name in the upper right corner, and then click Preferences. Click on the help icon and read the help for this parameter.

    As for not being able to navigate to other websites, I have never seen anything like it. Please provide more information such as browser, versions of operating system, browser plugins that may be applicable and accurate steps to reproduce.

    Thank you

    -John

  • Skillbuilders modal page at the Apex 4.1 plugin issues

    Hello

    I applied the Skillbuilders modal page plugin in my application. Everything works fine except that when I close the popup - window is not getting updated my parent window.
    I put the dynamic action - Auto Close modal and you - update on the parent page report.

    Parameters:
    Event: Auto Close [Skill Builders modal Page]
    Selection type: DOM object
    DOM object: document
    No condition

    Any help much appreciated.

    Thank you
    JAS

    JAS,

    You're all set. I put the link of the event for you DA from the album Live to Bind. This is necessary because the living places of event on the document element bindings, but seems to only listen to events fired on his descendants.

    I also fixed a bug in the JS that displays the success message. He now calls empty() to avoid adding duplicate success messages.

    Kind regards
    Dan

    blog: http://DanielMcghan.us/
    work: http://SkillBuilders.com/APEX/

  • Upgrade of the APEX v3 for 4 issues

    Hello

    I am trying to improve Apex v3 to v4, and we have the following questions:

    * The buttons do not work (doesn't do anything when you press on)
    * The show change the links appear automatically, and the arrows of edit link appear blue.
    * The values not being saved on the session.

    I exported the application and imported into the oracle development forum and everything works fine.

    We get the following error when you use IE;

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729 .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2;. NET4.0C;. NET4.0E)
    Timestamp: Tuesday, February 1, 2011 22:50:26 UTC


    Message: "apex" is not defined
    Online: 73
    Char: 1
    Code: 0
    URI: http://pcaapex01.pca.ad:7777 / pls/apexdev/f? p = 101:2:798892704964590:YES


    Any help will be appreciated.

    Thank you.

    My guess is the IMAGE_PRIFIX too. We had the same problem. I created a separate instance to upgrade our dev environment and changed the Image directory for versions 3 and 4 of Apex to use the same Web server. All you need to do is change the directory of the image, go to components that are shared for the application. Then, definition, change the prefix of Image on this page.

  • Flash &amp; amp; cookie issue (html)

    I have a drag and drop exercise in an html page. When the exercise is completed, the swf file calls a function in a .js file to write a cookie to completion and enable the next button. When the user returns to the page or the course, the exercise is shown as complete if the cookie is still there. It works 90% of the time. Sometimes the exercise starts frame 1 instead of going on the framework of the completion.

    The button in the html page is active, because the html page can now read the same cookie the swf defined. If the user goes to page 11 and then back to page 10, exercise poster now also full flash.

    I don't know if this is a Flash problem or a cache problem or what. Any ideas would be greatly appreciated.

    so, it is a problem. Sometimes your cookie can loaded earlier than the necessary framework in your swf file, and when you try to go to an image that has not been downloaded, the SWF will remain on frame 1.

    I assume that you already have a freeze frame 1 and you check the value of the cookie before you continue. In addition to waiting for the prosecution witness, you must wait for the necessary frame of your swf file to load.

    so, if you do not use a loop now to check your cookie, you will need for your swf check its _framesloaded property prior to advancing the timeline.

  • Corresponding global APEX box table name issue

    Hello

    I learn how to use the checkbox element and try to get the values of options checked through paintings global application. So, this can be a simple enough question, but I'm completely stuck here...

    When I was looking through different discussions and guides, I met the checkbox corresponding names of painting as 'g_f01' - 'g_f50 '. And so far I have seen that these names are derived from the name of the element in the generated HTML code, for example:

    < input type = "checkbox" name = "" * f10 * "value ="3"/ >"

    And this one is the abbreviation of name of table "g_ * f10."

    However, when I tried to do the same thing: I get point name that looks at "* p_v04 *", and therefore, I cannot understand, what table name should I choose to address it correctly :(

    My generated HTML code:

    < input type = "checkbox" id = "P6_ANSWER_0" name = "" * p_v04 * "value ="3"/ >"

    Thanks in advance.

    1007219

    The array of names apex_application.g_f01 - apex_application.g_f50 are used for tabular forms.

    What you have is a page element. And a box page can be referenced to use as any other page element. Especially with his name.
    In your case P6_ANSWER.

    There is one thing to look out for. If the LOV you defined for the page box element has multiple values. Then more then 1 box will be shown for this element of the page. And the values saved are stored in the element in the form of colon delimited values.

    Nicolette

  • OHS &amp; APEX - office/Mobile NO alternative standard connection to consume the apex and on request

    Hi all

    I have quite the problem and I do not see a solution and I hope someone might be able to provide advice how to on this subject.

    Here is my scenario:

    ===============

    I have 2 APEX applicationa, both with its own set of processes on demand (about 300), authentication schemes, page elements. Each application is only 2 pages (login, home).

    I've got 2 software applications, running on the Office of the AIR and the other a mobile application.

    Problem

    =====

    Connection for APEX WITHOUT ever going to the login page of the application in a web browser. In short, think of it as if I had BROWSER WEB No..

    I need to identify, authenticate and retrieve session information so I can call and then process on request through some Ajax calls in my applications, using post/get and pass the base APP_ID, PAGE_ID, SESSION_ID.

    Security must stay tight, which means that all calls are made via https/SSL.

    Currently, I can come out with a solution dirty air, which is to pass the user name, password the URL to the login page.

    Connection direct yo the database is not an option.

    Is where I'm stuck, how can I do this correctly.

    I recently worked around a violation of the page, passing the name of user and password in the URL, but the mobile app gets Bad request.

    I even started looking at REST, to provide the login? But how to replace this APEX for session state, session valid etc..

    But what would be the entire installation, that's what troubles me. ? Is there an api I do not know of. Whaty I am missing. I've worked with Oracle 8 years and cannot imagine not being able to connect to APEX without going to a web page.

    Maybe there is a way to expose some PL/SQL for the internet in a safe way? According toher, rewriting authentication custom apex coding style (htp.init, get_cookie, set cookie, apex_application_custom_auth, etc.)?

    Platform

    =======

    Oracle 11.2.0.4

    Apex 4.2.4

    OHS 11 g

    --> Possible APEX reverse listener with proxy?

    Thank you

    Jan S.

    Hi Jan,

    No worries :-) I'm used to this lack of hits, especially since we also have a Christina in the team of the APEX.

    Just issue the cookie 1:1 with htp.p line, as read you. After owa_util.mime_header is a good place to do that, Yes. Your code may look like the example below, but of course it must issue the cookie that he just read, not sample one of your previous post.

    owa_util.mime_header('text/html', FALSE );
    htp.p('Set-Cookie: ORA_WWV_APP_70070037001=ORA_WWV-Ic4nT76UhbDoIP5tGBweGWxW; HttpOnly');
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    

    Kind regards

    Christian

  • How to configure exceptions for the automatic cookie deletion on closure?

    Firefox is to forget my connections to google in two steps. On the page of checking google in two steps, there is a box that says "Do not ask for codes again on this computer."

    But firefox keeps asking for codes.

    I put to erase cookies on firefox closed.

    I also have the below defined URLS as exceptions, in two places:

        -in about:permissions, they are all set to allow, and also to keep offline data without asking
        -in options/privacy/exceptions
    

    mail.Google.com
    Maps.Google.com
    Calendar.Google.com
    www.Google.com
    Shopping.Google.com
    Plus.Google.com

    • . Google.com

    Google.com
    Gmail.com

    This forum is ruining my list above. Each url is a separate item in the exceptions. One flea actually starts with a star. (mozilla, good job, thanks for this old text editor)

    How to eliminate cookies all EXCEPT those above, when I close firefox? Or, is it not a cookie issue?

    do I need to enter 'http:// '.

    This article has not helped
    https://support.Mozilla.org/en-us/questions/974020

    Exception work if you leave cookies expire and will not work if you disable the cookies manually or via "Clear history of Firefox closing" or "clear recent history". In this case all cookies will be deleted or in case of "Clear recent history" for the specified range. There is no difference between letting the cookies expire when you close Firefox (i.e. make the session cookies) or delete cookies when you close Firefox, but the latter won't let you keep the cookies with an exception allow while the former honors exceptions and retains these cookies.

Maybe you are looking for

  • How to remove trash in one fell swoop?

    We have over 600 emails in the trash. To remove one at a time is almost too much of your time. How can I get rid of them quickly and permanently?

  • How to automatically highlight a band in a system of axes 2D of a report

    Hi all. From a channel, my vbscript search a particular phenomenon and calculates the two indexes. These 2 indexes contain the phenomenon I'd like to. Using the calculated index, I want to highlight the phenomenta like this image: http://CDN.pressebo

  • Designjet T1100 Interface cable

    Ladies and gentlemen I searched high and low for a number of control panel interface cable. I pinched one between the cover left and the side of the plotter and need to replace. In addition, in replacement of the timing belt, it looks like there was

  • Double the work for mobile and Desktop? Should I only design for Mobile now?

    I have been using Muse for more than a year, roughly as it was released. I may have missed something, but I have a website that needs to be updated every day, the only problem is that I constantly have to create double pages, one mobile and one for t

  • Number Counter Widget

    HelloI'm a graphic designer by trade, proficient in InDesign, asked me to design a Web site using adobe muse with a lively stats counter, I downloaded the widget below which is now in my library, should just work automatically or do I have to do some