In OA Framework, How to retain a session after moving to some other page??

Hi All,
I am developing a page in OA Framework. In this i have developed a search page on which user provides search criteria & look for results. After getting results, user submits or saves the data & move to next page.
Now user wants to move back to previous page with all the same query that he entered for previous search.
Can anybody help me, what i have to do to maintain that session or anything else to achieve that functionality.
Thanks & Regards
Nisha

QueryBean would have been the ideal choice, but since you have already implemented the search, you can do what Mitishka has suggested.
So when you move to any other page, you need to retain the AM (true) and when you move back from that page to the search page, you need to retain the AM and navigate back.
Idea is , not to lose the AM from your search page.
Thanks
Tapash

Similar Messages

  • How can I enable session(using url)  tracking in home page

    i am developing bidding application. How can I enable session(using url) tracking in home page ?
    for example :
    http://mydomine.com/index.jsp;jsessionid=4A38A4496F6862681DFD09CD6D648485.tomcat75
    please help me.

    Doubleposted. Please continue here: [http://forum.java.sun.com/thread.jspa?threadID=5308686&tstart=0]
    In the future, do not use the back button to edit the message, but use the edit button instead. Otherwise you're reposting the form again. You should know that better as being a web developer.

  • HT4898 how do you syn mail after moving to icloud

    How do you syn mail after moving to iCloud?

    Yes, you can use iCloud mail with OS X 10.6.8. However you need to enter the account details manually using the Mail Server Information  

  • Losing sessions after moving to CF10

    Hi,
    We recently moved an application from CF 7 to CF 10 and have since noticed that browsing to a non secure page (http) to a https page makes the server lose our log-in session. Our site has a log-in page, and this is served securely. When the user logs in they can access all other pages that securely link from that log-in page. But, as soon as they click on a non-secure page, the session is lost.
    This is a clean CF 10 install, not an upgrade. Are there any known issues with sessions and HTTPS in CF10 that we should be aware of? I printed out the session/cookie scopes on each page and it seems we get a new JSESSIONID for http/https sites, even though they have the same domain.
    Our cfapplication tag is defined as:
    cfapplication name="ourSite" clientmanagement="yes" sessionmanagement="yes" sessiontimeout="#CreateTimeSpan(0, 0, 20, 0)#" setclientcookies="yes" setdomaincookies="no" clientstorage="Cookie" scriptprotect="all"
    Can anyone please shed some light on this? The domain is the same between http/https calls, so surely CF should be able to retrieve the cookie?
    Thanks,
    Mark

    David, I tried resetting the browser as you said, but to no avail. I also tried five other different browsers; all the same issue. Something has changed in CF10 and it seems to be to do with CFIDs and sessions. I know that the CF Admin no longer allows multiple logins using the same user id, but something else has changed in CF10 to do with session management. I tried a JVM parameter that returns sessions to their CF 9 mode, but that did not work either.
    What I found out was that if I went to the login page securely, all subsequent secure pages retained the session, but insecure ones would not. So, I just made the login page use a http:// link in the form submission method, and that overcomes the issue since all subsequent pages are then http:// links. The solution seems to be make ALL pages served as either http:// or https://. Pages that are secure and post successively to other secure pages are fine, e.g. our e-commerce payment pages.
    Very strange this, and no still no definitive workaround or response from Adobe. A cookie with the same domain should be served irrespective of the page being http:// or https://, indeed my own test pages show the same cookie is served in both cases.

  • How to retain search values after submit in a result table

    Hi, i have search page with a autoCustomizationCriteria query region.
    In a simple search panel there are three messageChoise search items.
    When the search is performed a result table is displayed together with a cancel and a submit button.
    After submitting the changes in the result table a dialogpage is displayed and then returning to the search page.
    The mesageChoise values in the search region are now all reset to default.
    How can i retain the search values so that i can requery the page showing the updated values of the resulttable?
    Code in PFR:
    if (pageContext.getParameter("Submit") != null)
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("apply");
    // get message
    OAException confirmMessage = new OAException("XX","XX_SOME_MSG_CONFIRM");
    OADialogPage dialogPage = new OADialogPage(OAException.CONFIRMATION,
    confirmMessage, null, APPLICATION_JSP +
    "?page=/xxx/oracle/apps/xx/xx100/apps/webui/SearchPG", null);
    // Note that we release the root "UI" application module
    // so we can correctly handle any subsequent "Back" button
    // navigation and attempts to resubmit the PO transaction.
    pageContext.releaseRootApplicationModule();
    pageContext.redirectToDialogPage(dialogPage);
    Regards SG

    Thanks but i've already tried to remove the
    pageContext.releaseRootApplicationModule();
    but it does not help.
    Actually after pressing the start button in the query region and the data is shown in the result table, the following can be seen in the URL of the browser:
    192.168.1.151:8988/OA_HTML/OA.jsp?page=/xxx/oracle/apps/xx/xx100/apps/webui/SearchPG&searchType=search&fwkSTSearchrPG__QueryRN=search&_ti=1151125721&retainAM=N&addBreadCrumb=N&oapc=10
    So even before i submit the changes in the result table AM seems to be lost, but I'm not sure where the retainAM=N is initiated and where to override it. Any help would be appreciated.
    Regards SG

  • How to retain library selections after transfer

    I backed up my library from my Win XP machine to 2 dual layer DVDs and exported my play list, but when I import onto my Win 7 machine every track is checked, how do I get it to pare things down to what I had checked before?
    Thanks,
    Art

    Hi,
    if you re-execute an iterator then indeed the first row is marked as selected. To retain the selected row, you need to get the rowKeyStr before performing the execute to then set this as the current. All of this can be done in a managed bean
    1. Get current row key string in managed bean ((DCIteratorBinding)_bindings.get("Iterator Name")).getCurrentRowKeyString();
    2. execute the query ((DCIteratorBinding)_bindings.get("Iterator Name")).execute();
    3. set the key back: ((DCIteratorBinding)_bindings.get("Iterator Name")).setCurrentRowWithKey("key read before");
    Using the ADF Controller this could be done declaratively, but I understand that in your usecase no navigation happens between
    Frank

  • How to kill the session after the user exit the ADF application

    Dear all
    I have a problem
    The problem is the session still exist after the user close the application and the browser. I want to kill all sessions that is not active.
    This is my test scenario:
    1- I open IE and run my ADF application that is deployed on weblogic. http://192.168.100.17:7001/myapp/faces/login
    2- At the same time I issue this SQL command to view the sessions for user 'ADFUSER' - the "ADFUSER" is the schema user.
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER';QUERY RESULT IS
    USERNAME                       MODULE                                           STATUS
    ADFUSER                         JDBC Thin Client                                 INACTIVE3- Now the user close the browser
    4- Run the SQL again and I notice that the session still exist
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER'RESULT:
    USERNAME                       MODULE                                           STATUS
    ADFUSER                        JDBC Thin Client                                 INACTIVE5- now the user open the URL again http://192.168.100.17:7001/myapp/faces/login
    6-Run the SQL again , and I notice that the old session still exists and a new session created too.
    SELECT USERNAME,STATUS FROM v$session
    WHERE USERNAME = 'ADFUSER'RESULT:
    USERNAME                       MODULE                                           STATUS
    ADFUSER                        JDBC Thin Client                                 INACTIVE
    ADFUSER                        JDBC Thin Client                                 INACTIVE
    2 rows selected.and every time I login to the application , a new session is open and the old session still exist
    I do not know why this happens
    I want to kill old session when the user close the application.
    These sessions are cleared only when i restart the weblogic domain.
    here is some information about my development environment:
    Jdeveloper 11.1.2.3
    WebLogic Server Version: 10.3.5.0
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    thanks in advance

    Hi,
    for performance reasons you should not use dedicated user connections to the database. Instead you use JDBC data sources (default in JDeveloper for ADF BC) that you can configure the database connection pooling for. This means that your v$session will always show a set of active session, which however are shared among users. Assuming you use ADF BC, this is what happens
    - A user requests a data bound page
    - The ADF BC checks out an AM and connects to the database using one of the database connections in the pool
    ... user work here ...
    - user exits application
    - ADF BC returns AM to pool and passivates pending user state (if application is left with dirty transaction)
    - Database connection is available in pool as soon as AM released
    This also happens between requests. Long story cut short: v$session doesn't give you a true picture
    Frank

  • How to retain online number after it is expired?

    our Skype online number was expired a week ago and it is no longer active now. We would like to retain the number instead of getting a new number? Thank yo for your help!

    Hello,
    You can retain your Online # by repurchasing it within 90 days of expiry.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • How to recover saved sessions after a system recovery with backup [DUPE: /questions/770295]

    Computer kept crashing and wasn't able to log on, so I had to do a system recovery with backup. Was wondering if there was anyway to get back my saved sessions that I kept.

    Probably not. A System Restore can replace the current file sessionstore.js with an older version and if that happens then you lose that session unless you have made a backup of sessionstore.js before doing the system restore.

  • How to recover saved sessions after a system recovery with backup

    Computer kept crashing and wasn't able to log on, so I had to do a system recovery with backup. Was wondering if there was anyway to get back my saved sessions that I kept.

    Probably not. A System Restore can replace the current file sessionstore.js with an older version and if that happens then you lose that session unless you have made a backup of sessionstore.js before doing the system restore.

  • How to Terminate the Session of Running program from other program

    I need to Terminate the session of the user using a particular program by running a other z program.

    Use the function module TH_DELETE_USER.
    Welcome to SDN.  Please remember to award points for helpful answers.  Thanks.
    Regards,
    Rich Heilman

  • How do I maintain spreads after moving pages from one file to another?

    I'm consolidating several book chapters into one Indesign file, by way of clicking on the thumbnails on the Pages panel and selecting 'Move Pages...' from the contextual menu.
    The problem I'm having is that I can't maintain the page flow between chapters on the destination file, resulting in a broken spread between chapters when exporting to PDF. Here's a screenshot to better illustrate the problem, here seen in between pages 18-19:
    I've tried turning on and off the following options on both the source and destination documents but nothing changes:
    - Allow Selected Spread To Shuffle
    - Allow Document Pages To Shuffle
    I've also removed all the sections from the destination document (as you can see on the screenshot, page 19 does not have the little black arrow which denotes a new section), with no luck either.
    I also tried dragging the thumbnails manually but to no avail; I just can't figure out how to keep the page spreads between chapters together.
    Can anyone help me with this?
    Thanks in advance 
    Mariano

    Thank you so much for your reply Peter
    I have no idea what those brackets meant, I've followed your recommendation and my problem is fixed now.
    Kind regards
    Mariano

  • Can I restore a previous session after I open a new page and close it again afterwards?

    I recently lost all of my opened tabs and windows. I had 7 pages open with multiple tabs in each window. Windows did an update and shut down my computer without me realizing. When I went on to my computer, without thinking I opened a new window and didn't restore the session, not realizing it wasn't there anymore. Then my computer shut down unexpectedly. Now when I go on the computer, it won't show my previous browsing session. The restore previous session is grayed out, and now that I opened another window to try to figure it out, there is nothing to restore. Is there any way to get a browsing session back from the past? Not the most previous browsing session, but a browsing session from 2 before that??? I am devastated because of all the research I've done in the past 6 months is gone. It will be so hard to figure it all out by searching through my history since it was 6 months of browsing. Not to mention too time consuming to do it that way since there were a few hundred tabs that I lost! Please help me!! I keep thinking that there has to be a way...It's really stressing me out and I just can't accept that it is all gone! I'm not an expert on computers, so I hope to get an explanation that I understand...I would be so grateful if someone can help me!! Thanks!!

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • How to activate CS3 applications after moving them to older iMac

    I have an older iMac (Intel Core Duo) that I would like to use my CS3 software on since it is not compatible with the CC software.  I have Transferred the apps I need to the iMac, but how do I activate them?
    Thanks,
    Steve

    You don't. You need to install them properly, not transfer them.
    Download CS3 products
    Mylenium

  • How do I open music after moving files from 1 drive to another?

    I ran out of disk space on my C drive. The computer is partitioned w/ C & D drives. I moved all itunes folders to the D drive and cannot open the music. I went to advanced and redirected to the D drive and appropriate file without any luck.
    Signed
    Tuneless

    Hold down the Shift key in Windows when opening iTunes. In the resulting dialogue you will get the option to create a new library or navigate to an existing one. Navigate to where you placed the copy of the library file and open it up: How to open an alternate iTunes Library file

Maybe you are looking for

  • Pass Parameter To Configuration Entry Point

    In TestStand 2010 I have added a configuration entry point to select a configuration file. (Configure\Select Config File). I'm displaying a LabVIEW GUI which basically prompts the user to select a file. The file path needs to be stored in "FilePath"

  • IDVD not in Applications Folder

    I want to make quick a DVD. .. but can not find the iDVD! even spotlight does not show it. This is on my Mac Pro. On my Mac Book Pro i have it....?? Using on both computers Snow Leopard. What did I do wrong on the Mac pro? i put installation disk in,

  • HT4946 how to back up music

    I have a new iphone 5 which I added files to from my iphone3gs backup. When I made the 3G backup, the file was right on my desktop with easy to find files. I just loaded office and itunes on my new laptop and tried to do a backup of the now fully fun

  • Can JFileChooser file name field return all entered chars

    In JFileChooser, if I want to get all entered characters from file name field, is there a method I can call? I used method chooserUI.getFileName() or chooser.getSelectedFile(). These two methods returned texts which missed back slash and forward slas

  • Missing amt.lib.dill

    my adobe photoshop cs6 for 64x wont open. it says missing amt.lib.dill file. how do i fix this without having to re-buy the program bc i lost the disk. i already tried troubleshooting for working in earlier versions but that didnt work....i have wind