How to keep db session when navigating with a navigation button?

Helllo,
I have created a navigation button on an existing page (personalization). The destination URI = OA.jsp?page=/xxxe/oracle/apps/ar/webui/ShippingReportPG. In the existing (oracle) page, a tempory table is used. However, when navigating to my new page, the data in the temporary table does not seem to be available anymore. How can I show the data of the temporary table in my new page? Is there a possiblity to keep the same db session? Is it possible with the 'retainAM=Y' option?
I tried with 'retainAM' in the destination URI and changed the AM of the page to the right AM, but nevertheless it did not seem to be retained. Any ideas?
Thanks for your help.
Best regards,
Guy
Edited by: user4790528 on Oct 9, 2008 3:47 AM
Edited by: user4790528 on Oct 9, 2008 5:12 AM
Edited by: user4790528 on Oct 9, 2008 5:47 AM

Hi,
Thanks for your reply!
When navigating to my new page a new db session is started (with my own AM), but I would like to keep the same db-session and AM in my new page so that the temporary table can be used. There is no specific flush-code because it is standard Oracle functionality that the data is only visible within 1 db session. Any idea how I can retain the AM?
Thx
G

Similar Messages

  • How to close a session when user clicks Logout

    In my jsp page i create a session for every user's name.
    when particular user clicks logut without closing his personal page,
    the others can access his page.
    so, how to close a session when clicks logout link.?
    similarly when user gets signin one system,he will not be sigin in other system.but how can we achieve this?
    Thanks in Advance

    What is the name of the session variable that you are creating on login? When he clicks logout, set that session variable to null. Like session.setAttribute("userName",null); and check for non-null condition before proceeding with any functionality in your jsp's.
    What is the second question? You want to prevent duplicate logins from different systems? You would have to maintain a static datastructure like a HashMap for instance. Everytime a user logs in, put an entry into the HashMap...like userMap.put("userName","userName"); If an entry already exists, throw a message saying that user already logged in from another machine...

  • How the IVI New Session.vi works with the ivi.ini?

    Hi,all
    Does anyone know how the IVI New Session.vi works with the configuration file ivi.ini?
    And when the ivi application running, how the ivi calss driver refers to the right specific instrument drivers without changeing the program?
    Thanks,
    njzhw
    人的生命是有限的,但知识是无限的!
    南京众知维测试技术有限公司

    Which VI or function are you referring to? There is neither an "IVI New Session.vi", nor a corresponding "Ivi_NewSession" function in C.
    The Ivi Class Drivers determine which specific driver to use at run-time, by looking up the resource descriptor (a Logical Name, or Virtual Instrument) and determining the associated Instrument Driver. That configuration information is settable by the user through MAX (Measurement and Automation Explorer).
    --Bankim
    Bankim Tejani
    National Instruments

  • How to keep the MB powered on with Lid closed

    How to keep the MB powered on with Lid closed and no monitor connected?

    You can't. And you shouldn't due to heating issues.
    There are however 'hacks' that allow you to bypass
    this.
    http://www.alxsoft.com/mac/sleepless.html
    http://semaja2.net/insomniaxinfo/
    Blackbook C2D   Mac OS X
    (10.4.10)   120Gig, 1Gig, Superdrive.
    This may be true of overheating, but ONLY in the iBooks and very old laptops, if you think about it what is the difference between native clamshell mode (Using the monitor/keyboard etc) and the hacked clamshell mode? does plugging a screen in to the laptop some how create more ventilation :S
    This rumor is really really wrong, and as stated only affected the old machines which were not capable of native clamshell mode, but of course we keep the warnings there because we dont want to be sued if some idiot places it in there laptop bag while rendering a movie.
    PS. If anyone can give me evidence to prove otherwise i will add it to the investigation that im slowly compiling to "bust" this annoying myth

  • How can i invalidate Session when a browser crashes?

    Hi
    How can i invalidate session when a browser window closed or crashed unexpectedly.
    If user closed the browser window using File->Close, then i'm calling javascript function .... and it is working fine. But when browser window is hanged and closed using ENDTASK, how can i kill that session.
    Please help
    Thanks
    -Vidyadhar

    Well you can't. Execution halts, so anything you would want to do is made impossible: that's why crashes are the #1 enemy of any software developer (that and impossible deadlines). The webserver will remove the session manually when it times out though.

  • Why does my outlook keep creating modgroups when syncing with ipad?

    Why does my outlook 2007 keep creating modgroups when syncing with my ipad 2. If also takes very long for the two to sync.

    Welcome to the Apple Community.
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first.

  • HT1430 How can I restart my iphone 4 with no sleep button and frozen apps?

    how can I restart my iphone 4 with no sleep button and frozen apps?

    So, I called support this morning, if this happens to you, call them.
    There's nothing you can do on your own at this point (without voiding a warranty.)

  • How to keep OI window in background with message box/pop up boxes on top.

    Hi
    I have a new requirement to add in OI .How to keep OI main window fixed in the background with message pop ups atop OI window.
    Even  with message box pop ups , i should not have the access to OI main window.To  make it more clear,when i change to some other application in my PC task bar (for eg:-MSWord) and then click back to OI main window ,i should see the message box on the top of OI main window . I should not  have the access to click OI main window and OI message box as two separate operation in the task bar.
    Please let me know where i need to make changes in my OI  codeset.
    Regards,
    Nand

    Hi Nand,
    In the Message Popup step settings, check Make Modal under Layout >> Dialog Options.  
    I hope this helps.
    Cheers,
    David Goldberg
    National Instruments
    Software R&D

  • How to keep both file when paste

    hi to  every one
    I would like to know how to keep both files have the same name when I copy one of them to the other folder , since I have tow options only : replace or skip !!!!!!!!!! in windows 8   

    I suspect that that's how it is supposed to be, Cyber_Defend_Team. However, I can confirm that in Windows 8.1, when I attempt to Copy and Paste files, like from my camera's SD card which starts it's numbering system at 0 each time, to my photo folder,
    I only have the following options:
    Replace the file in the destination
    Skip this file
    Compare info for both files
    Now, when I choose the Compare info for both files option, I get a secondary dialogue which shows me a thumbnail of both pictures and has a checkbox for each one in two columns (there is also a checkbox at the top of each column for multiple photos to select
    all in a given column). I'm given only two buttons on this screen, Continue and Cancel. 
    As such, Lany Zhang, I don't think that this question can be considered answered as it isn't. 

  • How to get exact match when working with Oracle Text?

    Hi,
    I'm running Oracle9i Database R2.
    I would like to know how do I get exact match when working with Oracle Text.
    DROP TABLE T_TEST_1;
    CREATE TABLE T_TEST_1 (text VARCHAR2(30));
    INSERT INTO T_TEST_1 VALUES('Management');
    INSERT INTO T_TEST_1 VALUES('Busines Management Practice');
    INSERT INTO T_TEST_1 VALUES('Human Resource Management');
    COMMIT;
    DROP INDEX T_TEST_1;
    CREATE INDEX T_TEST_1_IDX ON T_TEST_1(text) INDEXTYPE IS CTXSYS.CONTEXT;
    SELECT * FROM T_TEST_1 WHERE CONTAINS(text, 'Management')>0;
    The above query will return 3 rows. How do I make Oracle Text to return me only the first row - which is exact match because sometimes my users need to look for exact match term.
    Please advise.
    Regards,
    Jap.

    But I would like to utilize the Oracle Text index. Don't know your db version, but if you slightly redefine your index you can achieve this (at least on my 11g instance) :
    SQL> create table t_test_1 (text varchar2(30))
      2  /
    Table created.
    SQL> insert into t_test_1 values ('Management')
      2  /
    1 row created.
    SQL> insert into t_test_1 values ('Busines Management Practice')
      2  /
    1 row created.
    SQL> insert into t_test_1 values ('Human Resource Management')
      2  /
    1 row created.
    SQL>
    SQL> create index t_test_1_idx on t_test_1(text) indextype is ctxsys.context filter by text
      2  /
    Index created.
    SQL> set autotrace on explain
    SQL>
    SQL> select text, score (1)
      2    from t_test_1
      3   where contains (text, 'Management and sdata(text="Management")', 1) > 0
      4  /
    TEXT                             SCORE(1)
    Management                              3
    Execution Plan
    Plan hash value: 4163886076
    | Id  | Operation                   | Name         | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |              |     1 |    29 |     4   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T_TEST_1     |     1 |    29 |     4   (0)| 00:00:01 |
    |*  2 |   DOMAIN INDEX              | T_TEST_1_IDX |       |       |     4   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("CTXSYS"."CONTAINS"("TEXT",'Management and
                  sdata(text="Management")',1)>0)
    Note
       - dynamic sampling used for this statementJust read that you indeed mentioned your db version in your first post.
    Not sure though if above method is already available in 9i ...
    Message was edited by:
    michaels

  • How to invalidate old sessions when new user access appl  on same machine

    hi all,
    I am using Mozilla browser to access my web application.User one access my application using his credentials .but i left that browser open.after that I am opening the another Mozilla window and accessing my application using different credentials ex:user2 credentials .user 2 also can access my application.but when i open the first browser ..am automatically getting second user session.how can we avoid this problem.
    Application is using session identifier(jSessionID) as the URL parameter for session management.
    is it possible to invalidate the old session when new user access on same machine.
    thanks,
    Vishnu

    VishnuReddy wrote:
    hi all,
    I am using Mozilla browser to access my web application.User one access my application using his credentials .but i left that browser open.after that I am opening the another Mozilla window and accessing my application using different credentials ex:user2 credentials .user 2 also can access my application.but when i open the first browser ..am automatically getting second user session.how can we avoid this problem.That shouldn't occur. Either you explained it the wrong way (or I interpreted it the wrong way), or there's huge bug in your login/logout logic. After opening another window inside the same session, you should still be logged in as the first user.

  • How to kill db-session when explored is closed?

    Hi all,
    Is there an easy way to kill database sessions when the explorer window is closed?.
    I tried to set the "disconnect application module upon release" checkbox on the module, but than my application doesn't work correctly...
    I'm getting errors like:
    Jul 17, 2007 6:34:10 PM com.sun.faces.lifecycle.ProcessValidationsPhase execute
    SEVERE: SelectOne submittedValue's index 0 is out of bounds. It should be between 0 and -1
    java.lang.IndexOutOfBoundsException: SelectOne submittedValue's index 0 is out of bounds. It should be between 0 and -1
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.__getIndex(SimpleSelectOneRenderer.java:347)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer._convertIndexedSubmittedValue(SimpleSelectOneRenderer.java:189)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.SimpleSelectOneRenderer.getConvertedValue(SimpleSelectOneRenderer.java:157)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.InputLabelAndMessageRenderer.getConvertedValue(InputLabelAndMessageRenderer.java:42)

    Hi Arti,
    You may want to check out how to use JDBC Datasources intead of the JDBC URL to connect to your database at the OC4J level. This method will manage the number of open db sessions that the OC4J can access. It is normal to have the sessions connected even after the browser has closed. It actually saves processing on the database because you don't need additional resources to open sessions, and you're reusing technology on connection management that is part of the database DNA. It is designed this way so that the OC4J can reuse existing connections for performance reasons among others.
    To do this on ADFBC, these are the files that you'll need to modify:
    1) data-sources.xml
    2) bc4j.xcfg for every application module to use JDBC Datasources instead of JDBC URL. (Right-click, configuration on the AM)
    However, for testing, the business component browser will need to use the JDBC URL connection.
    I hope this helps.
    Kenton

  • How to keep photo order when opening default photo app?

    First it concerns the default photo App: I have created an Album based on recent photos imported from the cloud, there are 125 photos in them, for some reason they are in the wrong order, i.e. by date. I know how to rearrange one photo at a time, but it's painfully slow to go through all 100s of them.
    Second, there is the iPhoto App: I downloaded iPhoto app from the iWork suite, that came free for me, it gave me an option to sort photos by date, hooray!
    BUT!! when I close iPhoto and reopen the default photo app, the photos were no longer sorted, it was the same order before the sort!
    My question is, how on earth do I sort an album in iPhoto and to keep that order when I open the album through the default photo app or indeed any other app that uses the iOS albums such as facebook etc?

    As far as i know, you can't, when using iphoto, the sort is only for iphoto, apps on ios do not have access to one anothers data, ever, you can transfer a file from one app to another app that supports the file format but then you have two independent copies of that file.

  • How to keep the highlight when the JTextComponent lose focus?

    I wanted to do some basic copy/cut/paste on the JTextPane from the Menu. But when I selected the menu, the highlight disappeared. How do keep the highlight?
    The only topic I found about this was here:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=214931
    but it appeared intimidating and not exactly what I needed.

    Most javax objects will accept things in <html> tags why don't you try setting them onto the JTextPane (never tried this btw but should be worth a try) using html and the transferring the same syntax to the output email

  • How to keep the watch to display without press the button on my iPod Nano 6th)?

    Dear Guys,
    I have purchased a watchband for my ipod nano 6th recently, overall is okay but i don't know how to keep the watch to display without pressing the sleep/resume button on edge? Also, the screen is not showing the watch immeditaly when I press the button, it shows the music/cd folder, then I need to scroll the screen back to the watch display.  Please help.

    There is no way to keep the display on permanently, as doing so would significantly reduce the overall life of the battery.  It would maybe last only hour, maybe not even.
    As for having your iPod wake up to the watch view, head to Settings -> General -> Time on Wake -> On.
    B-rock

Maybe you are looking for

  • Ipod Touch 4th gen won't connect to wifi

    Hi there, my ipod touch finds my wifi connection alright, but won't it connect to it. It keeps loading on and on but in the end it never does. I can't reset or access the router because I live in a student accomodation flat. I've tried switching it o

  • Custom DefaultTreeCellRender not rending node labels correctly.

    In our JTree we need to display the state of our custom nodes, the state can be cycled by the user clicking on the node. Our problem is that since upgrading from Java 1.4 if a node is clicked before it is expanded the child nodes will not be rendered

  • Business Delegate and Session Facade

    Business Delegate as well as Session Facade are used to reduce coupling between presentation-tier clients and business services. Could someone provide the key differences between these two patterns. And one more, is Session Facade applicable(can be i

  • How to send/receive XML using JSP

    Hi, I'm new to all this JSP/XML stuff so apologies if this is trivial. I'm trying to send an XML file via HTTP POST using JSP. Anyone know how to do this? Once the XML has been sent, how do you use JSP to request the XML file? I've figured out how to

  • ALV DISPLAY RELATED

    Hi, I have encountered one problem. I am displaying the records in the alv. let there are 5 records, The record that i choosed from the ALV display( let first one out of those 5) is updating or inserted in the Ztable. what should i do so that , the r