APEX 4.1.1.00.23 page protection violation

We have the same problem that is explained in the thread - violation of page protection when the page loads and is presented partially

After sending a page, we set the value of the 'J' on a hidden item. The element with the value 'J' activate an html region. In the area of the html we use two javascript calsl-> a call send a request to your web server to generate a pdf and set the value of the element hidden in "N"; the second javascript call is "doSubmit();
The last show to call javascript error-> violation of Page protection...
At the APEX 4.1 we do not have these problems.

I created an application with you are the apex page under apex.oracle.com:

workspace: rgz
user: demo
PWD: demo

How can I solve the problem?
Thank you

Hi Robert,.

the problem is the JavaScript code in "do some work". If fires too early and tries to send the page before the page is completely loaded. Some required internal page elements are not part of the subject page, that's why you get the error.

I changed your code to "Header and footer" area of

doSubmit();

TO

$(document).ready( function() {
   doSubmit(); });

(can also be simplified to)

$(document).ready( doSubmit );

to delay the execution of the shipment until the page is loaded. If possible, you should try to use a dynamic action with the event 'Page loading' or to put your JS code in the page attribute 'And Global Variable function declaration' and 'run when the Page loads", because that will make your page more transparent that JS code is executed, and it is not hidden somewhere within a foot of the region.

BTW, also take a look at the help

$s("P3_SHOW_JN", "N");

Instead of

html_GetElement('P3_SHOW_JN').value = 'N';

because APEX JavaScript API is more about the type of the page element to the right definition of the "value" attribute

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

Published by: Patrick Wolf on April 30, 2012 10:14

Tags: Database

Similar Questions

  • Error Page protection violation in APEX 4.2.2 - Login Page

    Hi all

    I have an internal application (application extremely personalized ;-)) that uses dynamic action to connect to the apex without loading the login page.

    However after ungrading to 3.2.1 I found out how that this 'approach' is now met with the famous "Error Page Protection".

    I disabled all the protections of session state and everything. I have a check_sum on the page.

    What I need is to completely disable these controls. This SUMMIT only for a small group working within an intranet, but we want to make it accessible to other employees?

    I read about the error and nothing seems to relate to my question. The error is on the login page. This happens when I submit a full url to the login page of my application.

    I understand that this is to protect applications, but I insist own hacking my own APEX application. I don't want to manipulate the elements on my page!

    Can someone advise how to CANCEL this protective function.

    Thanks in advance for your suggestions.

    Jan S,

    Hi Jan,

    If you create a request of wwv_flow.accept of the desktop application on page 101 of your APEX application. As you probably know, passing the credentials in the URL is not safe, but let's ignore that for now, because the point is to hack your own app, as you mentioned above :-) How about this:

    1 generate a normal f? p application, e.g., f? p = 12345:101:0:P101_USERNAME, P101_PASSWORD:JanS, JanSPassword

    2. on your login page, add a front page header junction accept, with the goal of page 101 and request LOGIN

    3. Add a condition to this branch, so APEX uses only if P101_PASSWORD is not null

    Kind regards
    Christian

  • Apex 5.0 "session state protection violation" during the change of display only value point in dynamic action.

    The following feature gives us a message "session state protection violation", after we migrated our application from Apex 4.02 to 5.0.

    For example, in apex.oracle.com: https://apex.oracle.com/pls/apex/f?p=50676:1:

    Whenever the value of the input field changes, the URL to test changes. This is done in a dynamic action of 'change' on the version field. The action of the set value changes the value of URL to test.

    When the page is sent to the error message is displayed.

    1. Why do we get this message in Apex 5.0 and not in 4.0.2?

    2. What is the way to do this in the Apex 5.0?

    Thank you

    René

    Just try save session state - no.

  • Problem with application BRANCH_TO_PAGE_ACCEPT when access page protection is enabled

    Hello

    We have an application that uses the application BRANCH_TO_PAGE_ACCEPT to send the called page.  The used redirect URL is:

    f? p = APP_ID:880:SESSION:BRANCH_TO_PAGE_ACCEPT | DO_FIND::880

    The security setting for access on the called page Protection has recently been upgrade 'Arguments must have checksum.  The URL now includes the required checksum, but now we are getting the following error:

    Try to save the point in session state during accepts the treatment, the resident protection or is not a form element that can be published.

    A demo of this problem can be found here:

    http://Apex.Oracle.com/pls/Apex/f?p=72031:1

    At the above

    -a button on page 1 that redirects to the page 2 and includes the request BRANCH_TO_PAGE_ACCEPT

    -a branch on page 2 for redirect to page 3

    -Page Access Protection set to 'Arguments must have checksum' on three pages.

    Is this a bug with the BRANCH_TO_PAGE_ACCEPT application, or I missed something.

    See you soon,.

    Andy.

    Hi Andy,.

    BRANCH_TO_PAGE_ACCEPT can not pass applications or elements of pages protected for security reasons. You get this error because the value of request "DO_FIND". There is only a very special case where this works, is when you spend nothing and accept query empty (i.e. "BRANCH_TO_PAGE_ACCEPT |"). In your first example you should consider another application, for example with before the branches of the header.

    Kind regards

    Christian

  • Violation of page Protection

    Hello

    We have just upgraded to 4.2.4 (running with Oracle 10 g) and were testing our applications when we encountered a problem.  We have 1 single application with mostly static links on different tabs.  Among the tabs/pages (let's call this Page 1) contains an HTML region that displays an IFRAME which incorporates the 2 Page report.  Page 2 is a model of Popup and also contains an IFRAME within an HTML region which incorporates the Page 3.  Each IFRAME displays a report.  When a user selects a value in the report to Page 1, the IFRAME to the Page 2 is displayed with documents of the selected record.  If the user changes their selection on Page 1, the values in the IFRAME changes.  Page 3 works in the same way... folders sub-sub showing what is selected in the IFRAME to the Page 2.

    I can navigate through all the tabs, but after that I selected the tab for Page 1, I cannot access any other pages.  Basically, I can accomplish all submit actions once the 1A Page was loaded.  If I try to leave the Page 1, I get the following error message:

    «Contact your administering the application.»  Violation of page protection: this can be caused by sending a page that had not yet finished loading or manually editing the protected page elements.  For additional assistance, please contact the Administration request. »

    Loading, the page is definitely over... I waited another minute.  I read a few threads talking about security settings changed in version 4.1.1 APEX and how these errors might be linked to the HIDDEN items are being protected.  I changed ALL the hidden items in the application of ' protected value = no. "and I still get the error.  I changed the value of the browser Cache for all 3 pages (Page 1, Page 2 and Page 3) off and I changed the values of deep links for all 3 pages (I tried Enabled and Disabled) and I still get the error message.

    I have no problems on another page... I am able to add/remove users on the access control page that performs a send action.  After I navigate to Page 1 the only way I am able to access one of the other pages is to close and run the application again.

    We don't have this problem on our previous version which was 4.0.2.  I think that the problem is related to the IFRAMES, but I can't identify what is the problem.

    Any ideas on what could be the problem?  Please let me know if you need more information.

    Thank you

    Tara

    Tara,.

    I changed the closing automatic elements IFRAME to get a match close the tag, and he seems to have made a difference.

    TO

    I don't know why, but perhaps the process that computes the checksum of page is not recognizing elements iframe properly which results in an incorrect checksum.

    -Jeff

  • Session state protection violation: this can be caused by manually editing the protected page P67_C point. If you don't know what caused this error.

    Hi friends,

    I create three field A textfield,textfield B,C textfield and apply the formula with dynamic action.

    C = A + B.

    Now, I want to protect user could not be total change at point C, so I change it is property of the text field to display only and change in

    Settings-> save the Session State-> Yes

    After all changes when I ran page and provide the registry then it shows me error below.

    Session state protection violation: this can be caused by manually editing the protected page P67_C point. If you don't know what caused this error, contact the administrator of the application for assistance.


    How to disable the total at point C when I use the dynamic action to calculate the Total of A + B.

    Thank you.




    Hi Maxence,

    1. in the case of a display one element

    Change your point of P67_C and change the State of Session Save-> No.

    2. in the case of a text field

    Change your point of P67_C and make it read-only

    go to the attributes of the HTML Form element-> readonly = "readonly".

    Hope this helps you,

    Kind regards

    Jitendra

  • APEX API to get the HTML page

    Hi all

    Y at - it all APEX API for HTML for a page if we provide number, session and application page id?

    I tried with 'f' and 'apex_030200.f' but its giving following error!
    no function with name 'F' exists in this scope ORA-06550
    All the tips/help would be appreciated.

    Kind regards
    Hari

    Hello

    Demo to draw Carl region check.
    You can take the entire HTML page
    http://Apex.Oracle.com/pls/OTN/f?p=11933:48

    BR, Jari

    Published by: jarola may 5, 2010 20:54

    I try to shoot the entire page
    http://Apex.Oracle.com/pls/OTN/f?p=40323:49
    Pull it page 1

    In the example HTML page header

     
    

    The region HTML source

    The button URL target

    javascript:dhtml_GetPage()
    

    Hope this helps

    BR, Jari

  • Bug report - named anchor - SSP page protection

    APEX 4.2.1 https://apex.oracle.com/pls/apex/f?p=57688:14

    The button FOLLOWING a redirect URL to Page 15 using the f? p = rating to scroll the page for an area at the bottom of the page by using a named anchor f? p =... #bottom

    Page 15 has the SSP Access Protection Page attribute to the Arguments must have the checksum, the redirection fails when the link is not the checksum

    The NEXT2 button does the same thing but uses the declarative fields to set the target of button as follows http://screencast.com/t/OOw6Q6C2

    I thought that sticking the named anchor * #r620 * in the field with these values and leaving the field empty page elements will be a problem, but it works very well, APEX generates the checksum in the f? p = URL and finally bugs on the named anchor. Everything as it should be, perfect.

    Now... when I go back to the edit page of button (4000:4314) fields are empty! http://screencast.com/t/lMMmOlF2fYgc I scratch my head of course but the behavior is always the same.

    Export the page shows that the button target attributes are always defined
      p_button_name    => 'NEXT2',
      p_button_action  => 'REDIRECT_PAGE',
      p_button_redirect_url=> 'f?p=&APP_ID.:5:&SESSION.::&DEBUG.:5::#r620',
    but the page Builder does not know how to handle the named anchor so it messes up the display. Of course, the button apply the changes on the complains now that the Page field is now empty, so indeed, the target page of key cannot be changed using the constructor :-(

    Can someone in the team of the APEX please consider what bug and advise if there is a solution? Thank you

    Hi Vikas,

    I found a solution, even if it's a little awkward. You can switch to Classic view and click the "Change all" button. It will show you the URL.

    Value for endangered, anchors # apparently received support in some parts of the manufacturer (for example the branches) in 3.0, but not in the links of the button. I'll file a bug.

    Kind regards
    Christian

  • Redirected page 'Protect your kids with parental controls' when you try to sign in to Family Safety

    I'm able to access my security account for the family to manage the accounts of my children.  I keep getting redirected to the page of 'your kids with parental controls Protection. "  What happened, and what should I do about it?

    I've updated the customer on my son's computer.  After that, I was able to log on the website of the parental control without problem.

  • Facebook is blocked... page protection antivirus... takes you to a page where you purchase protection... I have norton already... don't let me use facebook

    Facebook is blocked... page which wants to buy me a virus... says my computer protection is attacked... norton is woking and said everything is fine... but can not use facebook... page continues to block the appp

    update your Norton and a full system scan. The latest version of Norton 2010 version (currently), you have updated free option to that, contact technical support for Symantec and help for the update and also helps it remove malware.
    The support link is:

    http://www.Symantec.com/support/index.jsp

    Also, I recommend you to log on to the suite of site Web and full scan and remove risk: http://onecare.live.com/site/en-us/center/whatsnew.htm

    It's probably a fake anti-virus that try to convince you to buy it.
    If you are using Internet Explorer 8, it should be block but if not, try to go to the security-> SmartScreen filter-> reported as unsafe

  • Violation of page protection - error get by using the custom plugin

    https://Apex.Oracle.com/pls/Apex/f?p=63937:1:

    The app link.

    Identification information

    -TINO

    [email protected]

    -test123

    When I try to send a page using the normal text field, he's fine. But when I use my custom plugin it throws error PPV.

    You can see the plugin code in the shared components of the application.

    Application is called theme MDL.


    There also may be problems with my page template but I doubt since the ordinary questions works very well.


    I developed this on 4.2.6.

    Incredible.
    The problem is that the plugin was wrapped with

    As soon as I took it, it could submit its value.
    It's funny how I had no idea how fix it, but as soon as I saw you talking about form I knew what to look for.

    It would be cool to know why this happens.

    Thank you!

  • Check if the user has selected box element apex before the loading of the page

    4.2.1

    THM:2

    Hello world

    I have two classic reports with different conditions but even select the columns based on a sql that uses the apex_item.checkbox2 element that allows users to select the lines and run some process. I also have a radio unit that hides and shows these two reports. However, it is possible that the user select a few lines and without doing anything click on the radio button that will present the page and all the lines that earlier he had chosen will be lost. I want that we should be able to pop an alert if there are checkboxes checked and the user tried to hit the button of the radio looks like the APEX_APPLICATION. G_F01. Count is not available at the time the page is submitted. We thought to use a pl/sql to see if APEX_APPLICATION DA. G_F01. Count > 0 then trigger an alert to confirm.

    Any ideas on how to do this?

    Thank you

    ryansun wrote:

    Hi FAC586 - basically, there are two parts of the report, were grouped products consolidated (as master) and the other report has all the products of the child. So based on the option the user selects that he sees who discovers and processes information.

    I tried to create the DA, but he does not seem to fire and I'm sure it would be because I have something wrong.

    No, in this case, there was a typing error in my JS expression above (this is what happens when there is no example in the trial against...)

    Must be:$('td[headers="COL_ALIAS"] input:checked').length > 0

    I have page submit on the evolution of radio, given that other elements of the actual application, don't do with this feature which is filled on the loading of the page.

    It does not work. If the present radio on the presentation changes group cannot be controlled by the dynamic action to confirm that it has already been committed before the confirmation message is displayed. Presentation must be made by further action of real on the DA. By the way other values is possible by using dynamic actions or region to submit elements of Page properties.

    But here it is necessary, if the user has activated all the lines, then changes the selection of the radio, it should show an alert to confirm. In addition, what happens if we have a very select in the box by a header label already. Can I use the same label to identify the COL_ALIAS?

    Do not understand the question.

    Don't know what I'm doing wrong.

    As I noted above, an important part of your problem is that you asking what amounts to a series of questions XY rather than the big picture given by presenting the necessary resources. You have been really good on the creation of examples on apex.oracle.com, but they are all fragments of the righteous, which makes things difficult when you try their synthesis in something that works as a coherent whole. Various bits and pieces that have been revealed in recent weeks, it seems like this could be treated using dynamic measurements without having to send the page until the final choice has been made.

  • Redirect to an Apex Pl/Sql by using the page

    Hello

    I want to redirect it to a page of the apex using pl/sql.

    I m using the following code.

    Begin

    htp.p (utl_http.request (": http://application-tier server: port/apex /'"));

    End;

    Get the following error: parsererror - syntax error: token Unexpexted.

    Help, please.

    Concerning

    Far87 wrote:

    Fac586 thank you very much for your reply,

    Sorry for the unclear issue, I will make you understand.

    My requirement is to navigate between the pages.

    I have a form with field x and a button to send in the same region.

    whenever you press submit, it should check

    If x = 1 then

    GoTo page 3

    elsif x = 3 then

    GoTo page 4

    on the other

    GoTo page5

    end if;

    To do this, I created a dynamic action using the code below.

    Begin

    If: P5_x = 1 then

    HTP.p (utl_http.request (": http://application-tier server: port/apex/f?")) p = 159:3'));

    elsif: P5_x = 3 then

    HTP.p (utl_http.request (': http://application-tier server:port/apex /f? p = 159:4'));

    on the other

    HTP.p (utl_http.request (': http://application-tier server:port/apex /f? p = 159:5'));

    end if;

    end;

    Get the following error: parsererror - syntax error: token Unexpexted.

    I replaced the htp.p (utl_http.request (": http://application-tier server: port/apex/f?")) p = 159:3"))

    with owa_util.redirect_url (": http://application-tier server: port/apex/f?") p = 159:3');

    apex_application.stop_apex_engine ();

    Always make the same mistake.

    This is completely the wrong approach for normal inter-page navigation in the APEX. The use of dynamic action is not here. In this situation use branches for navigation, with conditions to control which branch is used according to the logic that you need...

  • Oracle apex without password field application login page

    Hi all

    Someone please help with this request. I want to have a login to application page where users just enter their login user id and just click the button connection; Once they connect. I have an authorisation procedure which checks against the database for their user id table and redirects to different pages based on their role as defined in the database. If its a user id invalid; the process redirects to the page that is not permitted.

    Is it possible in the apex oracle to connect to the app with just their user name. We use Oracle APEX 4.0.2 version and oracle 10g r2 database.

    Previously, we had the LDAP authentication, which was no - ssl and we do not want to use it, as this will not be the policy of the company. We have tried to establish a SSL connection and create oracle certificate using s/n, but it always takes some time.

    DECLARE

    v_role VARCHAR2 (30);

    v_page NUMBER;

    BEGIN

    BEGIN

    SELECT user_role

    IN v_role

    FROM table_a

    WHEN USER_ID = UPPER (TRIM (: P101_USERNAME));

    EXCEPTION WHEN NO_DATA_FOUND THEN

    v_role: = NULL;

    END;

    IF v_role = "MANAGER" OR v_role = "ADMINISTRATOR."

    THEN

    v_page: = 1;

    ELSIF v_role = "ANALYST."

    THEN

    v_page: = 32;

    ON THE OTHER

    v_page: = 200;

    END IF;

    APEX_UTIL.set_session_state (p_name = > 'FSP_AFTER_LOGIN_URL', p_value = > NULL);

    wwv_flow_custom_auth_std. Login (P_UNAME = >: P101_USERNAME,)

    P_PASSWORD = >: P101_PASSWORD,.

    P_SESSION_ID = > v ("APP_SESSION").

    P_FLOW_PAGE = >: APP_ID | ':' || v_page);

    END;

    How to change, the process described above to allow the value null for the password field.

    Please help with possible suggestions. Thanks in advance.

    Thank you

    Orton

    Write a custom authentication scheme

    http://allthingsoracle.com/custom-authentication-in-apex/

    and simply return true without checking the password field. The author, Patrick Barel, gives an example:

    FUNCTION authenticate (username_in in VARCHAR2

    password_in IN VARCHAR2)

    RETURN A BOOLEAN VALUE

    IS

    BEGIN

    RETURN TRUE;

    END to authenticate;

    A custom authentication function can do what you want in terms of functionality, as long as it returns true if the authentication is successful or false otherwise.

  • Pages protected individually password and secure areas

    Hi all

    looking to set up a password protected pages on a site of BC.

    for example, the (client) Site administrator could create a new web application with customer specific content element and then share the article page web app with the client that the password protected page.

    It would be ongoing, with a new customer every time. Ideally, the process should encourage the customer to create an account

    Looking at the areas of security, I couldn't work if that was possible.

    Does anyone know how this could be done in British Colombia?

    Thanks, Kieran.

    If you are on a tight schedule and you don't have the time to play with the API queries or to develop a new application for this purpose I suggest to go with the "manual" way The app has its advantages in the long-term usability, but it requires some knowledge of developer.

    Here are some resources that will help you to choose between the two:

    1 create an application base - build your first application (you need at least a paying site to register as application developer)

    2 create a CRM - Customer contact | Developers of enterprise catalyst

    3. subscribe the customer to a secure area - customers of and secureZones. Developers of enterprise catalyst

    4. create a webapp - Create Web App point | Developers of enterprise catalyst (when you create the item webapp you can also bind it to the CRM contact created above)

    From a complexity point of view this app is not extremely complex given the right forward, that you must implement. Even with all the samples provided, but it will take a certain amount of programming knowledge.

    I hope this helps!

Maybe you are looking for

  • 8500 will not print Yellow

    I have a HP OfficeJet Pro 8500 Wireless all-in-one printer and I can't seem to print the yellow color. I have cleaned the print heads (manually, as well as through the machine), calibrated their, them aligned and installed nine original cartridges HP

  • CyberLink Webcam cannot find a built-in webcam

    I have a vista, pavilion dv7. When I try to use Skype, it says to start my CyberLink Webcam. When I try to launch CyberLink, it is said that here he can not find a webcam built-in to my computer. This problem just happened all of a sudden, I've never

  • Hard (on/off) button is no longer puts phone standby?

    Hi all...  I have the Droid, and before tonight, pushing the power button to put the phone in standby mode.  Now, it will go into mode after 1 minute I chose for her auto - standby.  But I need this ability to push the button and do it immediately, a

  • How can I change the optimization of the record to multiple records at the same time?

    Hello world I have a ton of TV shows torn on my computer of my DVD collection and organized with several files, like this: TV shows > the name of the slide show > season XX So in the case of television broadcasts, I have a folder for each show. Then,

  • Customizations lost after reboot.

    When Windows 8 downloads an update, it restarts. After the restart of the customization settings are lost and I have to reset all. How can I save them so that they are not lost?