Item session state during rendering

Hi,
Application Express 4.1.0.00.32
Page process (before heading) sets session state for several items (Text, Always replacing ..., Static Assignment...) but the values are not persistent.
Debug shows:
0.32451     0.00116     ...Session State: Saved Item "P1013_REC_PP" New Value="15"          
0.32567     0.00104     ...Session State: Saved Item "P1013_TOT_AANT" New Value="1"
0.32671     0.00111     ...Session State: Saved Item "P1013_CURR_SET" New Value="1"
0.32783     0.00094     ...Session State: Saved Item "P1013_REC_PP" New Value=""
0.32877     0.00087     ...Session State: Saved Item "P1013_TOT_AANT" New Value=""
0.32963     0.00060     ...Session State: Saved Item "P1013_CURR_SET" New Value=""
Where is the 'second round' (immediately following the actual setting in page process) on setting session state coming from?
Thanks, Jos

Resolved,
Dropped the items and recreated some new ones (with different names) and now its OK.
The original items were copied from each other and renamed. Maybe this is (still) a bug...
Jos

Similar Messages

  • Saving session state during pagination

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:152
    I hacked into the PPR function to save the checkbox value into session state during pagination.
    Is there a way to do something similar for checkboxes in the report itself rendered using htmldb_item.checkbox()?
    Or is this an ill-advised effort?
    [The UI requirement here is clear...I have a bunch of items over many pages and I want to select them using checkboxes and have the selections remembered as I paginate back and forth.
    If you use Yahoo Mail, Compose a new message, click on the Insert Addresses link and it pops up a window with all your contacts, you can select them using checkboxes and go to the Next/Previous page and it remembers the selections]
    Thanks

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:152
    Click on the Create/Reset collection button to initialize your own private collection to play with.
    The checkboxes are remembered as you paginate thru the resultset. Basically, the state of the checkboxes is saved into session state using htmldb_Get before calling the PPR function to get the next/previous rows.
    Carl, let me know what you think of the approach. Is it a viable approach? Any caveats?
    [Unfortunately, I had to to make a copy of the builtin html_PPR_Report_Page function to make the above modification in it, didnt see a way to avoid it]
    Thanks

  • Items session State from form to another ...

    Hi Guys,
    I have been trying to pass items session state from one page to another page that is opened on Sikllbuilder Modal Page, but to no avail.
    I have been trying to pass items session state from one page to another page using branch , but to no avail.
    Can you please have a look...
    workapce: fam
    user: test
    pwd: test
    Application 64941 - Modal Page
    On the setting of Skillbuilders Dynamic action, I used this Static URL:
    f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_MOBILE,P2_MOBILE2,P2_MOBILE3:&P1_MOBILE.,&P1_MOBILE2.,&P1_MOBILE3.Regards,
    Fateh

    Hi Trent,
    Actually, i did not create new DML. and my problem is not with the source.
    in a nutshell,
    the items on the first page have source of Static assignment .. only one item has a default value
    the items on the second page have source of Database Column .. none of the items have default value
    1- What caused the confusion is:
    We run the page 1 , we have an item (Mobile) with a default value ( that means it has a session state value by default ) > Concur.
    I type a value on the second item ( Mobile 2) then set session values.
    both items ( Mobile & Mobile 2 ) have session state values. > Concur.
    Click Modal Page button to trigger the modal page. where the Static URL is:
    f?p=&APP_ID.:2:&APP_SESSION.:::2:P2_MOBILE,P2_MOBILE2,P2_MOBILE3:&P1_MOBILE.,&P1_MOBILE2.,&P1_MOBILE3.We see that only the value of the first item (P1_Mobile) goes to the modal page. but rest of the items do not go.
    I hope that it is clearer now..
    Best Regards,
    Fateh
    If you want details, Please allow me to tell my scenario. I have two forms "Clients", "Inquiries".
    As a client calls, I need to identify whether the client is exit on the DB or not.
    So, as the client calls, we enter the mobile phone number into items that have static assignment source, then click on a button to check if the client details are already on the DB. if yes, the inquiry form shows up. if No, a modal page (that have clients form) pops up to allow inserting the details of the client in items that have Database Column Source . but since we have already inserted the mobile number in the the first step.. I do not want to insert them again in the client form.
    Regards,
    Fateh

  • Application Items/Session State Values and Page Branching

    I have users coming into a specific page in my application, passing in a value on the url that sets the value of an application item, where a validation routine occurs. If their session validates, I want to send them to one page, if it does not, I want to send them to a login error page.
    During validation, I am setting the values of several application items so that these values can be saved and used throughout their session. The values appear to be setting correctly. I am concerned that setting the application items may not be limiting these values to a particular session. So, I have also tried setting the setting session state variables with code like:
    apex_util.set_session_state ('F203_REQ', vReqID);
    I found it curious though when I ran this page, not trying to branch so I could check session state, these values showed up as being application items and I saw nothing under session variables.
    The problem I am having is that once validated I don't know how to branch to these other pages. I have tried adding some javascript in the header to force a page submit so that I could use a branch setup on the page. However, when it comes time to evaluate the branches (it's using one of the application item values I set earlier), I'm getting an error that no branch has been provided. Further research suggests the application item values are being cleared on the page submit.
    So, (1) I either need to know how to preserve those values on submit so the page branch works or (2) I need to branch to the new page without using a page submit and instead doing that in a some code (assuming submit is clearing application item values). I have not been able to find an example of how to do this in code. If there is a way to do this in code, will the application item or session state variable values be retained? I will need these values to be available to the user throughout their session.
    Thanks for the help,
    Steve

    Steve,
    I am concerned that setting the application items may not be limiting these values to a particular session.They are set in the current session only.
    It is hard to know what you are doing exactly without seeing it. If you set up an example on apex.oracle.com we could could address one specific question at at time.
    Scott

  • Issue with PPR and/or item session state

    using version 3.2
    On my Page2, I have two regions: HTML and a report.
    In the HTML region, I have two datepickers: FROMDATE and TODATE
    Their defaults are set to the min and max of a DATECREATED field in my table.
    In the report region is a classic report generated by sql getting all rows with a DATECREATED between the values of the two datepickers.
    In the header of the report region, I'm using the following to do a partial page refresh of the report region:
    *<script type="text/javascript">*
    *function p2Refresh(){*
    *$a_report('#REGION_ID#'.substring(1),'1','15');*
    alert($x('P2_FROM_DATE').value);
    *</script>*
    *<input type="Button" value="Refresh List" onClick="p2Refresh();">*
    I'm just using the alert pop-up to verify the info in the datepicker.
    The problem is that if I change the dates and hit the 'refresh' button, the report is NOT using the current value of the datepickers.
    I've also tried the following which is fired from an 'onChange' event of the datepickers
    *<script type="text/JavaScript">*
    *function setDate(pItem, pValue){*
    var get = new htmldb_Get (null, $x('pFlowId'), null, 0);
    get.add(pItem, pValue);
    get.get();
    get = null;
    *</script>*
    Any clues would be great.
    Thanks.
    Edited by: 903802 on Dec 21, 2011 8:27 AM

    Solved it.
    I made two changes. First, the 'onChange' for the datepickers, updated the state for both datepickers at the same time:
    *<script type="text/JavaScript">*
    *function setDates(){*
    var get = new htmldb_Get (null, $v('pFlowId'), null, 0);
    get.add('P2_FROM_DATE', html_GetElement('P2_FROM_DATE').value);
    get.add('P2_TO_DATE', html_GetElement('P2_TO_DATE').value);
    get.get();
    get = null;
    *</script>*
    However, the fix was actually because in the *"var get = "* statement, I had used *$x* instead of *$v*.
    Works like a champ now.

  • Session state of page item different from one region to another region

    hi,
    on one particular page I have two regions. A page item (LOV pop-up) is set in the first region. I leave this region with a button and jump back with a branch to the same page. The page item has now the selected value (as is shown by session state window). So far so good.
    The second region (SQL query type) uses this page item. However, for some reason the page item is NULL in that second region.
    Can anyone explain this behavior ?
    ron

    thanks Joel,
    I did already what you suggested. The title in region 2 is evaluated to the same value as in region 1.
    The SQL query (that actually runned with identical syntax before) is:
    select bla from blatable where bla = :P920_RU
    this generates:
    report error:
    ORA-12801: error signaled in parallel query server P000
    ORA-01741: illegal zero-length identifier
    So apperently the bind variable is evaluted to (or cached as) NULL.
    I noticed something strange in the session window. There are several page items in the application. All of them are listed in the 'Session State' region. The page item that makes problems is the only one that is also listed in the 'Page Items' region. It is even listed when I start the session window from another page. Weird.
    any other ideas ?
    Actually, how could you possibly clear session state between rendering two regions ?
    Ron

  • Need help with session state/item refresh

    I have an application that allows users to record productivity information for our employees. There are different types of work they have to do, so the form is in header/multiple-detail form and uses collections to handle all processing. In the header portion are the fields that record the time of work. Though this is stored in the database as a single field for start of shift and single field for end of shift, in the entry it is split up into 9 fields: 3 for day, month, and year, and three more each for start hours, start minutes, AM/PM, end hours, end minutes, and AM/PM, which I then concatenate to get the dates to store. The update part works fine. When I go in to display each of these, I have to use an SQL query to retrieve only that section of the time.
    The problem I am having is that if the user pulls up several timecards to edit them, it retains these time values from the previous timecard, and due to the way the collections refresh, I can't seem to get either item session state parameter (Only when Null/Always from Source) to achieve the desired result. If I use the Only When Null option, I retain the values from the previous timecard. If I use the Always from Source, the user can't update any of the time-related input.
    Can anyone suggest a solution? I've tried a session state process that fires on entry to clear those items and ran into the same problem as using the Always From Source option. There has got to be a way to handle this, but it's got me stumped and my users are clamoring for a fix.
    Page initial load
    A. Before Header process populates job collection and other collection (not header info), which comes straight from DB table.
    B. Data displays for Header (from table) and two detail sections (from collections)
    User presses Submit to save changes
    1. On Submit Before Processing: updates job and other collections (to preserve changes in case validation fails)
    2. Validations check to make sure job codes are valid, date is valid, employee is valid, etc.
    3. On Submit After Processing: Writes changes to header from input form, writes changes to job and other from collections to appropriate DB tables
    I also have two On Submit After Processing processes to add blank lines - one for each collection. These are triggered via buttons.

    Blair:
    Does creating a 'before header' process to populate 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 should set the 'Source Used' back to 'Only when current value in session is null' and the 'Source Type' to 'Static Assignment(....)' and clear out the 'Source value or expression' field.
    varad

  • Problems With Session State Protection

    I have enables SSP on one of my applications and everyting seemed ok until I reached a page with a custom pop up page.
    I use this code in my page header
    {} used to display code
    {<script language="JavaScript1.1" type="text/javascript">
    function callMyPopupRank (formItem1,formItem2) {
    var formVal1 = document.getElementById(formItem1).value;
    var formVal2 = document.getElementById(formItem2).value;
    var url;
    url = 'f?p=&APP_ID.:115:&APP_SESSION.::::P115_RANK,P115_RANK_ID:' + formVal1;
    w = open(url,"winLov","Scrollbars=1,resizable=1,width=400,height=630");
    if (w.opener == null)
    w.opener = self;
    w.focus();
    </script>}
    Then I call it from post element text of an item
    {<img src="#IMAGE_PREFIX#edit-white.gif" border="0" alt="Edit">}
    When my pop up page opens I get this error
    Attempt to save item P115_RANK in session state during show processing.
    Item protection level indicates "Item may be set when accompanied by a "session" checksum.".
    No checksum was passed in or the checksum passed in would be suitable for an
    item with protection level "(No checksum was provided)".
    How do I append the checksum to my url ?
    Thanks
    Gus
    Edited by: Gus C on Jan 8, 2010 1:50 AM
    Edited by: Gus C on Jan 8, 2010 1:52 AM

    You will need to use the APEX_UTIL.PREPARE_URL function to append the checksum to the URL. I would suggest you use a hidden page item to hold the URL and then reference it in your JS.
    I hope that helps
    Shunt

  • SSP broke my LOV :-(  - Session State Protection Issue

    Hi Folks.
    I'm tinkering with SSP on my application.
    Here's the challenge du jour.
    If I enable SSP across the entire application I can't even log in. That was resolved by setting the login page to 'Unrestricted'. not sure of the security implication of doing that but bear with me.
    My main Issue is this.
    I am using Patrick's APEXLIB for Cascading LOV functionality.
    My Parent LOV works fine.
    My Child LOV is blank.
    I have modified everything on the page to 'Unrestricted' and still I end up with a blank child LOV.
    Any ideas how to skin this cat?
    Many thanks
    Simon

    OK so here's how i 'fixed' this issue. I say fixed but I would welcome any comments regarding the security impact of the 'fix' I came up with.
    First of all I enabled SSP across the entire application
    Page Access Protection = Arguments Must have Checksum
    Application Item Protection = Checksum required - Session level
    Page Data Entry Item Protection = Checksum required - Session level
    Page Display-Only Item Protection = Checksum required - Session level
    This had the desired effect of applying these settings to everything.
    Having done that I needed to update the SSP to Patrick Wolf's Application Items in the following way...
    APEXLIB_REFERENCE_ID = Unrestricted
    APEXLIB_REFERENCE_TYPE = Unrestricted
    As a side note, I noticed that the Application Item FSP_AFTER_LOGIN_URL was also set to Unrestricted. I guess this is enforced by APEX to allow successful login to the application. All other application items were set to Checksum Required - Session Level as per the cross-application configuration I had initially done.
    Finally I had to review the pages that had the cascading LOVs that no longer functioned. For these pages I had to set the "Item Session State Protection" to Unrestricted for the poll down LOVs used in the Cascading LOV process. Parent LOVs and Child LOVs.
    The end result is that I have pretty tight SSP enabled across the entire application. The only areas where it is 'Unrestricted' are some of the cascading LOVs.
    I would be very interested to hear from anyone who would care to comment on the security weaknesses this approach may have created.
    I will update this thread if the SSP enabling has affected anything else in the application. So far though, it's only the Cascading LOVs.
    Kind regards
    Simon Gadd

  • Problem with application item and session state

    Okay, let's see if I can explain this problem coherently.
    I have a small app (one page), with an application item, F_WHERE_CLAUSE.
    This page has three regions in which there are items that the users can populate for search conditions. A couple of these items are "select list with submit" (I still need to upgrade to the AJAX method, I know). There is another region which has one hidden field, called P1_WHERE_CLAUSE. This field is defined to "Always, replacing any value in session state..." with source type of "Item (application or page.....", and a source value of F_WHERE_CLAUSE with no default value.
    I have a button called "Search" which submits the page and fires a PL/SQL process which builds a where condition based upon the other page items and stores the value to the application item F_WHERE_CLAUSE (correctly).
    For testing, I've made the P1_WHERE_CLAUSE field visible so that I can see what's going on. I've also clicked the debug and session buttons to help trace this. After I click the "Search" button and the page submits, debug shows:
    0.02: ...Session State: Save "P1_WHERE_CLAUSE" - saving same value: "1=1"
    followed later by:
    0.05: ...Session State: Saved Item "F_WHERE_CLAUSE" New Value="lower(primary_class) = 'rock' and country = 'Spain'"
    The field P1_WHERE_CLAUSE displays with the correct search criteria as signified by F_WHERE_CLAUSE above. However, If I click the "session" button to view the session state values, P1_WHERE_CLAUSE shows up as:
    P1_WHERE_CLAUSE Textarea    1=1    U while F_WHERE_CLAUSE displays the correct value still.
    The reason this "problem" came up, is that this page also has three SQL report regions which use &P1_WHERE_CLAUSE. for the where condition. While they display the correct results on-screen, each report region also has the "Export to csv" enabled, and the export seems to be using the "1=1" condition (from the "session" window) instead of the search criteria that the on-screen region is using (F_WHERE_CLAUSE and the displayed P1_WHERE_CLAUSE), resulting in a retreival of all records.
    Anybody have any idea what's going on and why, and how to get the csv export to use the correct value for the where condition?
    Thanks,
    Bill Ferguson

    It appears the "Export to CSV" functionality requires the item value to be set in session state. The P1_WHERE_CLAUSE item value never gets saved to session state. The page is rendered and the value is put in the item on the page but until you submit the page session state doesn't know what P1_WHERE_CLAUSE is.
    Create a before header computation or process to set the value of P1_WHERE_CLAUSE (which will save it to session state). It is interesting that the report regions didn't need to look at the value in session state but the "export to csv" does.
    --Jeff                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Error during rendering of page item P3_DEPARTMENT_ID - Apex 4.2 2+Day Guide

    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID. ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    the code of the book 2+Day developer which I used in my edit report region source :
    SELECT e.EMPLOYEE_ID,
    e.FIRST_NAME,
    e.LAST_NAME,
    e.HIRE_DATE,
    e.SALARY,
    e.COMMISSION_PCT,
    calc_remuneration(salary, commission_pct) REMUNERATION,
    e.DEPARTMENT_ID,
    d.DEPARTMENT_NAME
    FROM OEHR_EMPLOYEES e,
    OEHR_DEPARTMENTS d
    WHERE e.DEPARTMENT_ID = d.DEPARTMENT_ID(+) AND
    (e.DEPARTMENT_ID = :P3_DEPARTMENT_ID or
    (e.DEPARTMENT_ID is null and nvl(:P3_DEPARTMENT_ID,'-1') = '-1'))

    0e342a31-11d2-4cd7-ac7c-802ef455d578 wrote:
    Please update your forum profile with a recognisable username instead of "0e342a31-11d2-4cd7-ac7c-802ef455d578": Video tutorial how to change nickname available
    Always include the information detailed in these guidelines when posting a question: how to get answers from forum
    When I replace the code given in Apex 4.2  2+Day developer guide, it shows the following error.
    When you replace what code? Where? How? Provide the exact steps necessary to reproduce the problem.
    Error is :
    Error during rendering of page item P3_DEPARTMENT_ID.
    ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    is_internal_error: true
    apex_error_code: WWV_FLOW_FORM.UNHANDLED_ERROR
    ora_sqlcode: -6550
    ora_sqlerrm: ORA-06550: line 5, column 1: PLS-00428: an INTO clause is expected in this SELECT statement
    component.type: APEX_APPLICATION_PAGE_ITEMS
    component.id: 3996015574888943
    component.name: P3_DEPARTMENT_ID
    error_backtrace: ORA-06512: at "SYS.DBMS_SYS_SQL", line 1249 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1021 ORA-06512: at "SYS.WWV_DBMS_SQL", line 1090 ORA-06512: at "APEX_040200.WWV_FLOW_DYNAMIC_EXEC", line 697 ORA-06512: at "APEX_040200.WWV_FLOW_META_UTIL", line 245 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 989 ORA-06512: at "APEX_040200.WWV_FLOW_FORMS", line 1428
    The error page indicates that the error occurred in rendering the P3_DEPARTMENT_ID page item. What are the Source and Default settings for this item?

  • Session State Protectio Violoation in Apex 4.2 Page Items

    I'm testing my Apps that I upgraded from 3.2 to 4.2 and getting the message below and haven't been able to understand why.
    Error Session state protection violation: This may be caused by manual alteration of protected page item P2_PAY_NO. If you are unsure what caused this error, please contact the application administrator for assistance
    How the Page works.
    1. Before Region Process runs that pre-populates some of my Text Items.
    2. The user then has the ablibity to select from a select list item that will re-populate the items populated during the Before reqion based on the date selected.
    I do this by calling the code below with an "onchange="javascript:date_populate(this);" on the HTML Form Elements Attributes.
    {var myString = $x(pThis).value;
    var mySplitResult = myString.split("|");
    $x('P2_START_DATE').value = mySplitResult[0];
    $x('P2_PAY_YEAR').value = mySplitResult[1];
    $x('P2_PAY_NO').value = mySplitResult[2];
    $x('P2_PICT_CODE').value = mySplitResult[3];
    $x('P2_END_DATE').value = mySplitResult[4];}
    3. When I submit the page I get the Session State Violation.
    All Items have "Session State Proection" set to "Unrestricted"
    Session State Protection is "Disabled" for the application.
    Edited by: spuchc on Apr 12, 2013 2:07 PM

    Check you are not updating items of type "Display Only".
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Apex bug?  Items being cleared in session state - can't figure out why

    I have an item that is being submitted with a value but is then being overwritten and set to null. I can't see any reason why the submitted value is being overwritten with null.
    I have been debugging this problem for most of the day and can't figure out what is happening and was hoping someone in the forum might be able to shed some light.
    Some details:
    The item is on Page 0, has source type of "PL/SQL Expression or Function", a source expression of "V('REQUEST')", and Source Used = "Always".
    I viewed the HTML source of the rendered page and can see the following HTML, so I know the item has a value when the page is rendered:
    <input type="hidden" id="RENDER_REQUEST" name="p_t08" value="EDIT" />
    I have used Firebug to view the HTTP POST body and can see that p_t08 is being correctly submitted with a value of "EDIT" in the post body.
    When I run the page in debug mode and then view the debug log, I see that Apex is indeed setting this item to null:
         0.01500     0.01600     A C C E P T: Request="WIZ_NEXT"
         0.23400     0.00000     Session State: Save form items and p_arg_values
         0.24900     0.01600     ...Session State: Save "BRANCH_TO_PAGE_ID" - saving same value: ""
         0.24900     0.00000     ...Session State: Save "ROWS_PER_PAGE" - saving same value: ""
         0.26500     0.01500     ...Session State: Save "P0_CLEAR_WS" - saving same value: ""
         0.26500     0.00000     ...Session State: Saved Item "RENDER_REQUEST" New Value=""
    I can't figure out why the item is being set to null.
    This problem also does not occur on every page. The pages in question are a multi-step "wizard" that allows the user to navigate between steps with "Next" and "Previous" buttons. Since this is a page 0 item, it appears on every page in the wizard so I'd expect it to behave the same. When you open the wizard at step 1 and press next to go to step 2, the item (RENDER_REQUEST) is set correctly on step 2 of the wizard, BUT when you then click Next to go to step 3, RENDER_REQUEST is null on step 3. If you open the wizard at step 2 and press Next, RENDER_REQUEST is null on step 3.
    I did find a work around, but it doesn't make any sense why it would work: if I move the RENDER_REQUEST item from the "Footer Items" region to a page level item (by using Edit All and setting its region to blank), then the problem goes away. If I move it back to the "Footer Items" region the problem reoccurs.
    I am working on Application Express 4.0.2.00.07 on Oracle Database 11g Enterprise Edition Release 11.2.0.1.0.
    Any help would be greatly appreciated!
    Thank you.

    Hi Patrick,
    Thanks for the quick response. Unfortunately, I can't reproduce this on apex.oracle.com due because the app requires PL/SQL packages to be installed in several schemas, including some that require system grants (I gave a presentation at Oracle Open World a couple of years ago on some of the techniques I used in building this application that you attended; I think the session was called "Building Large Commercial Applications with Oracle Database 11g and Oracle Application Express").
    Is there another way we can work together to debug this without reproducing it apex.oracle.com? For example, if you could send me an instrumented version of the APEX_040000.F procedure (or whatever procedure is clearing the session state) that has some additional APEX_APPLICATION.DEBUG calls, I could install it on my server, reproduce the error and send you the output.
    Thank you,
    Eric

  • Session state and item values

    Hi,
    Is it any possibility to bring the session state and an item value to a table?
    Thank you

    Hi,
    For session id use APP_SESSION substitution string
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/concept_sub.htm#sthref160
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Submitting the value of an item with session state

    Hi,
    I've a Master / Detail Form on different pages, like master report page no.19, master form page no. 20 and detail form page no. 21. I've created this form using Form, master detail form wizard. I've set deptid as a primary key in master, and foreign key in details table. In page 21, i've set the source for deptid, source used : Always, replacing any existing value in session state, source type : Item (application or page item name), source value : P20_DEPTID. While executing the form deptid is showing the value, but, while submitting of the form, it's not saving in the table. What will be the problem??
    Thanks and Regards,
    Sudha.

    Sudha,
    OK.
    Go to the pagedefintion in page 20, click on the wordt report (of your master form).
    You will get a new screen.
    Click on the pencil-icon of your column.
    Again a new screen.
    Select the six tab (it's called LINK).
    Enter item-name and value something like :p21_dept_id and #DEPT_ID#
    where P21_dept_id is the item of the form for the dept_id
    Hope this helps.
    Leo

Maybe you are looking for

  • After upgrade my MBP from snow leopard to mountain lion all my smb connections stop to work.

    After upgrade my MBP from snow leopard to mountain lion all my smb connections stop to work. Now iám using mac os 10.8.2 I can see the server, I can choose the drive, but when try to open a folder the message on Finder is: You don't have permissions

  • Two digit year cutoff in SQL Server 2008 R2

    Hi All, We have a 2008R2 setup here and have SSIS jobs importing data from flat files into our database. Some sources only give us 2 digit years unfortunately.  Looking at some data, the default 2 digit year cutoff  is not really appropriate to our s

  • How can I transfer data from my G5 so that my Macbook can use it?

    I am getting ready to retire my Power Mac G5. I have a Macbook running Snow Leopard with only a 160G hard drive. I would like to put all of my pictures, music, documents, emails, etc. on an external hard drive which I could then plug into my Macbook.

  • How to get Online Currnecy in abap

    Hi everyone ; I want to get online currency in abap code. How it is possible. I need help. I read somewhere, I need a web service this operation but is this supply in sap ? or find extern. Thank you. Regards , İrfan Matak

  • Can't find the registered vendor in the EBP

    Dear ,my experts ;    I work in SRM 7.0 . SAP_ABA: SAPKA70103. I am in the ROS scenario.    I have two clients on the same server .100 Client is EBP system ,and the other 300 client  is SUS system . Now ,I have one question about ROS . I have done al