Apex 4.2.2.0.11 item session state page appears
I tried to comment on that, but find week. This problem is not... all the page elements are in SESSION STATE. Anyone encountered this problem?
Hello
See if that helps
https://forums.Oracle.com/message/10720310
Kind regards
Jari
Tags: Database
Similar Questions
-
Not all the items on the Page appear in the window Session
Version 4.2.5.00.08
Hello
I have a page with elements of Page 48, and when I click on the Session icon in the bar than 37 see the same developer when lines is set to 5000 and the view is defined on Page elements and I click on the Set button.
I tried another page with Page 37 items and only 17 show in the window Session.
I checked in Firefox version 39.0 and IE 11.0.9600.17914
Anyone know how to do to have ALL elements of the Page view?
Can what information I provide?
Thank you
Joe
Hey Joe,
This previous discussion may help you: Re: popup for Session State
Thank you
Erick
-
APEX Session point of the Application or the item of Session State set and get?
I need assistance with items and values in a single Application-Apex:
I have a List-Item (P101_UMGEBUNG) selected on the page of connection (Page 101) in my application (next to username and password).
After this item has been selected in the list of outfits and the "Login" button pressed, I want to use this value of the element in the context of different select statements on other pages for example in reports to the 4 Page, like this:
"select * from mytable where environment =: P101_UMGEBUNG;
The select statement is faulty, it dosent go back any line. It turns out that the value I just chose in the list is not saved in session state, so of course the select statement fails. I determine this by clicking on the session menu item in the developer bar - the item itself presents itself, but the value of the element is empty:
Which would cause a selected list value not end upward in session state and how to make sure he gets there?
I've tried different solutions (process of pl/sql, javascript actions dynamics and brances) I found here in further discussions and with google, but maybe im wrong,
Someone has a solution for this problem and could explain it in detail?
Hello
Value of the item on your login page is disabled by the process of "Empty the Cache page (s)". To save the State of this element, you can:
1. remove the "Empty the Cache" page (s) process or set the condition to "never". It security hole.
2 create the point on another page (for example, on page 10 P10_UMGEBUNG) and create processes on the login page BEFORE the process of "Empty the Cache" page (s), which will be
Save the State of P10_UMGEBUNG. Make the process of PL/SQL:
BEGIN APEX_UTIL.SET_SESSION_STATE('P10_UMGEBUNG', :P101_UMGEBUNG); END;
After that, you can use the value of the P10_UMGEBUNG element:
select * from mytable where environment =:P10_UMGEBUNG;
-
How does the APEX 5 'Refresh' Action? Unable to refresh the page items.
Hello
I'm 5 APEX developed a page with both regions. Goal is to show the number of cells on the main area and allow to update the same number of cells from another region on the same page.
Region 1: Added a view-only point P2_CELL_NUMBER_SHOW seen source of sql return the unique value. Like "Select cell_number of user_cell."
Region 2 (hide this region during the loading of the page): adding an item of text P2_CELL_NUMBER_UPDATED. This region has added a button "Apply Changes". During the click on added dynamic actions in the following order:
(a) PLSQL: Null; Submit article: P2_CELL_NUMBER_UPDATED
(b) PLSQL: the UPDATE call sql statement to update the number of cells in the database table.
(c) masking region 2 and region 1 via java script list.
(d) refresh region 1 (here I expect at this point P2_CELL_NUMBER_SHOW should show the new update on the step value b). But get the old value that was earlier on region 1. But when submitting the page then region 1 get the new value.
So, does send the page or set the session state to get the new value on region 1? Will update no help in this situation?
Thank you
Ankit
Hi Pierre,.
The dynamic Action of the type "Refresh", does not work on the elements and entry areas with elements of entry. It is intended for regions of report with PPR (partial Page Refresh) allowed namely interactive reports, classic and graphic regions.
Kind regards
Kiran
-
Info session not showing all the items on the page
Hello world
Apex 4.2.5.00.08
Need to check a mental health, went to check the values of session of an item on a page and only the PK element was on the list in the State of Session window. See the list of items on the page by using the tab elements and they are all there. Page source checked and yes they have values
< snip >
"" < td align= "right" >< label for= "P174_DESCRIPTION" tabindex= "999" >< a class= "option-w-help" href= "javascript:popupFieldHelp('1261598755721459294','2188531882820')" tabindex= "999" >default< /a > </ label > <table > ""
< / snip >
Still this hidden item is displayed in the window of session state
< snip >
< input type of =" hidden " name =" p_t28 " ID = " P173_COMPONENT_COUNT " " value =" 0 ">
< / snip >
and I don't mean tha the value is missing, but the real thing is not on the list of issues
Thanks for your help.
Gary
When you inspect the session state?
How and when are the set of values of item?
See this current thread for what seems like the same problem: The State of Session items that are database columns
-
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.
-
How can I get a session state value in my apex or DML text field
I put a session state in my procedure, in my text field in my I want to get the value of the form region. I try in my text field of the form in the default region, I try
BEGIN
APEX_UTIL.GET_SESSION_STATE('USER_SECURITY_PIN');
END;
but this does not seem to get the PIN of the session
How can I do this please
dave_414 wrote:
I put a session state in my procedure, in my text field in my I want to get the value of the form region. I try in my text field of the form in the default region, I try
BEGIN
APEX_UTIL.GET_SESSION_STATE('USER_SECURITY_PIN');
END;
but this does not seem to get the PIN of the session
How can I do this please
Depends on the Type of default property item.
Use a static text with Substitutions of State of Session with a string substitution of static text:
&USER_SECURITY_PIN.
or the body of the PL/SQL function (for example):
return apex_util.get_session_state('USER_SECURITY_PIN');
or Expression of PL/SQL with a bind variable reference:
:user_security_pin
-
The session-state item values are used is not in the redirection Page
Hello
I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.
For the second button, I'm telling you "Redirect to Page in this application" on Page 17
Place these items: P17_PERIOD
With these values: & P7_PERIOD.
P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.
Any suggestions are greatly appreciated.
Thank you
JohnJohnny98 wrote:
I have a P7_PERIOD point Page, I put the value of the session state for the click of a button. I can confirm that the value of P7_PERIOD is correctly set in session state after the button is clicked. When I try and P7_PERIOD allows to set the value of an element in another page (P17_PERIOD) on the click of a button, it does not recognize the value of new session state.
For the second button, I'm telling you "Redirect to Page in this application" on Page 17
Place these items: P17_PERIOD
With these values: & P7_PERIOD.P7_PERIOD has the correct values in session state, but passes the old values to P17_PERIOD during the click on the second button.
Redirections are run in the browser using URL generated during page processing. This means that the redirect for the second button URL uses the value of P7_PERIOD is during the broadcast of the page, not as it is in session state after it is defined by the first button.
The second button must execute a submit and branch to retrieve the new value of P7_PERIOD. If there are page accept treatment that should not be run when the user clicks this button, use a branch point before the execution of these processes (for example on submit: before calculating), or condition the process on the other buttons.
-
in the APEX by clicking on the link hyper does not trigger session timeout page
Hi all
I have a question about the application of APEX session time-out. I created a simple application of the APEX. In the region report SQL section, I have code like this:
SELECT DOC_Name, DOC_URL,
"" < a href = "" | DOC_URL | "target ="_blank"/" > download < /a > ' pdf_link
FROM test_table
where emp_number = 00010001
When the user click on the hyper link, it will show the landing page for the user (for example if DOC_URL = 'http://forums.oracle.com', it displays the oracle forum page in a new browser).
But the problem is that after the user session timeout (I set to 240 seconds through shared components > change the security attributes, I put max the session for example 240 seconds timeout) when I click on this hyperlink, it does not raise my session timeout page and it still shows the page (oracle forum page).
Why in the APEX by clicking on the link hyper does not trigger page session timeout after the user session timeout?
How implememt or fix to trigger the session timeout page after clicking on hyperlinks?
(BTW, our version of the APEX is 3.2)
Thank you!Hello
rather than use your my_stored_procedure you could call a new APEX page where you have a page called P999_PDF_ID. On this new page you would have
treat a front header PL/SQL with the same code you have in your "my_stored_procedure". The only change would be to add aapex_application.g_unrecoverable_error := TRUE;
at the end of your code as well as APEX does not generate a standard page of APEX.
That's all. If a user clicks on a link, APEX will check the session timeout and if everything is ok, download your PDF file.
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 -
Need help with refreshment/item of session state
I have an application that allows users to record information for productivity for our employees. There are different types of work they have to do this, the form takes the form of header/multiple / detail and use collections to manage the entire treatment. In the header are the fields that record the time of work. If it is stored in the database as a single field for start of shift and one field for end of quarter, inside it is divided into 9 areas: 3 day, month, year and three more each for departure times, start end of minutes, hours, hours, minutes from the end and AM/PM, which I then concatenate to get to store dates. The update part works fine. When I go in to see each other, I use a SQL query to retrieve only that article at that time.
The problem I have is that if the user pulls several sheets to change, it keeps these values of time card earlier score and because of the way that the collections update, I can't seem to get each session state setting point (only when Null/always from Source) to achieve the desired result. If I use the option only when Null, I retain the values of the previous score card. If I use the always Source, the user cannot update the time entry.
Can anyone suggest a solution? I tried a process of session state that fires upon entry to clear these items and ran into the same problem that you use the option always the Source. There must be a way to handle this, but it has left me speechless and my users are calling for a fix.
Initial loading of the page
A. before the header process fills jobs and other collection (not the header information), which comes directly from the DB table.
B. data displays for header (from table) and two sections of details (collections)
The user presses Submit to save changes
1. on submit before treatment: updates of work and other collections (to keep the changes in case of validation failure)
2. check validation codes of safe work are valid, the date is valid, used is valid, etc.
3. on submit after treatment: writing the changes in the header of the entry form, writes the changes to employment and others from collections of paintings appropriate DB
I have also two processes on submit after treatment to add white lines - one for each collection. They are triggered through buttons.Blair:
Creating a process "before head" to fill these fields make a difference? The sql could be something like
select TO_CHAR(TC_START_TIME,'HH') into :P1115_TIME_IN_HH from TC where TC_ID = :P1115_TC_ID;
You must set the "Source" back to "Only when the current value in the session is null" and the «Source Type"to «Assignment (...)» static"and clear the"Source value or expression.
CITY
-
Apex DatePicker setting session state problem.
Hi all
Workspace: hanamike
User name: test
Password: test
With the help of dynamic action, run PL/SQL, to set the session state.
Using Firefox console showing too many recursion error but session state is defined so slow.
But when the use of Ipad screen will freeze when the session state setting.
Already had the application properties, security, Mode of escape from HTML to base but still display the date value as a unicode type (c, c ++).
Please advice.
Thanks in advance.
Zack
You have set something on the change of P1_DATE1 to change the same domain, and "Remove Change Event" is set to no.
It is an infinite loop.
-
Session state protection violation
I created the sample application to the free workspace
https://Apex.Oracle.com/pls/Apex/f?p=4550:8:0
Name of workspace: WMS_USER
Username: [email protected]
Password: password! 23
Request 40363 - shipping Office
: - > Run: click the report itemWhen I select the number of the item 50004257 and click on the button new 1 then show the error like session
violation of protection StateCan you please help
This link is not a job for me.
2942415 wrote:
I created the sample application to the free workspace
https://Apex.Oracle.com/pls/Apex/f?p=4550:8:0
Name of the workspace: WMS_USER
Username: [email protected]
Password: password! 23
Request 40363 - shipping Office
:-> Run it: click the report itemWhen I select item number 50004257 and click on the button new 1 then show the error like session
violation of protection StateCan you please help
This link is not a job for me.
Check your work application.
p3_item_desc--> edit-->--> No. session state
-
Session state protection error
Hello
I get an error on the browser Internet Explorer (doesn't happen in chrome), which States "Session State protection violation: this can be caused by manually editing the protected page P11_NEW_FLAG point." If you don't know what caused this error, contact the administrator of the application for assistance. Contact your administrator for the application. "
I don't know why this error because the element P11_NEW_FLAG is NOT protected at all. Here's the security properties are attributed to him:
It has a readonly condition associated with him making it readonly based on some logic PL SQL.
I don't know where to start debugging? What can be the root cause?
Thank you
Sunil Bhatia
Hi Sunil Bhatia,
Sunil Bhatia wrote:
Hi mohamed,.
No, its not hidden item, it's a FLAG (Checkbox) I display on the front end. There are readonly. I debugged and error occurring only when the box is read-only. It automatically creates checksum argument.
Other settings to watch?
Thank you
Sunil Bhatia
You use the condition parameters of article readonly?
CheckBox and select items does not in HTML readonly property. ReadOnly checkbox in the case of Oracle APEX is setting the disabled property. Therefore, on presentation of the page it is originally the error of session state protection.
An easy way to do this is to write a dynamic action (run Javascript) to disable the checkbox if necessary:
$("#P11_NEW_FLAG").attr("disabled",true);
But write a front page submit dynamic action (run Javascript) to activate elements disabled on the page, so that the layout of the page works fine:
$("#P11_NEW_FLAG").removeAttr("disabled");
Reference: Apex tips and tricks - an easy way to make read-only items
I hope this helps!
Kind regards
Kiran
-
Only display element - Session State
APEX 4.2.2
Display only the page element. Settings: Save Session State = Yes. Output = based on the PL/SQL code. Security > escape = No special characters.
The PL/SQL code uses htp.p to display HTML and page is rendered fine with browser showing HTML code.
But when the page is submitted, the value is not saved in session state is not available for the apex_mail.send process.
What Miss me? How can I get the value of page element to be available in session state to submit after process use?
[I tried other alternatives such as Textarea with Readonly = Always element but anyway this mess up the rendering of the code HTML. [The only thing that appears in many working on the rendering side is only show the item, but then I can't read after the value of submit processing]
Help! Thank you.
Hi Vikas,
This isn't how this parameter "based on" specific is designed to work. If you look at the underlying HTML associated with the item, you will find that the real value of the element is distinct from what is emitted from your PL/SQL code. The output of PL/SQL is simply what you want made on the page, but it's nothing associated with the underlying session state value. If you have a dynamically calculated in the session state for this article, you would be better to use a calculation or specify PL/SQL in the attribute 'Source value or expression.
I don't blame yourself if you find confusing - it is certainly not clear in the documentation or the help text for item-level.
Joel
PS still waiting to see you at the WORLD KScope or Oracle OpenWorld. You must be to avoid us.
-
How to set the value of the box check the plug-in in session state using a DA
I want to click on the box (plug version) and set (Y or N) in session state without submitting the page. Is it possible to do it in a dynamic action? or a code in the ? The HTML Form element attributes
I tried the code proposed to
using AJAX, but can't make it work.
I also tried the following code, but doesn't seem to work for checkboxes.
<script language="JavaScript" type="text/javascript"> function f_setItem (pItem) { //alert('running fsetItem'); var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=dummy',&APP_PAGE_ID.); get.add(pItem,$x(pItem).value) gReturn = get.get(); get = null; } </script>
More modern solutions using a DA?
Should I use an event 'onCheck' or 'onchange '?
Thanks in advance
PaulP
APEX V4.2.3
DB EA 11.2
APEX listener V2.0.5.287.04.27
13 blue-gray theme
IE9.0.8112
FF26.0
Paul, in fact, you can use a dynamic Action.
Say your question change event, say P1_CHECKBOX.
So here's the clincher.
Action: execute the PL/SQL Code
PL/SQL code:
Start
null;
end;
Page to submit items: P1_CHECKBOX
That's all.
Read the help on the elements of Page to submit
«Specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your 'code PL/SQL'.»
Kofi
Maybe you are looking for
-
I changed my Options ask me each time I want to do with a pdf document. It does not work. What happens each time I click on a PDF as an attachment in e-mail or on a Web site, is that a Windows Explorer window asks me where I want to save the file. I
-
Satellite P200 - 17 c - Vista won't start up - how replace/repair boot.ini
Hello I have a Toshiba P200 - 17 c of the vista computer and it won't start, freezes on the splash screen. I haveused iso image to boot from and ran repair disk, makes no difference.Machine will not get beyond microsoft loading page (with yellowish s
-
HP laptop 110-1125: new hard drive, do not start
Bought a hard drive refurbished, equipped... now not going anywhere watch just info system assets/erase and report... can anyone help please?
-
How to completely remove Beats Audio from my system?
My computer is a number of product p7-1534, H2N63AA #ABA, running 64-bit Windows 8.1. The audio driver was an IDT, downloaded directly at HP, specifically planned for my system. I'm trying to figure out how to completely remove the Beats Audio from
-
I have a HP Pavilion m6 1045dx laptop with Win 7 64 bit and a 750 GB HARD drive. I tried to install a Samsung 500 GB SSD 840EVO without success. First thing I found out is that when I had added an another partition for data until I have inadvertent