Create new session opens every time web app

I created an application ADF consisting of one page, that runs on a Server WebLogic 12.1.3.

The application must receive a few arguments on the url, like this:

https://weblogic_server.com/application/pageflow?arg0=value0 & Arg1 = value1

To read the parameters I use this code reads get them from the FacesContext

HttpServletRequest request =  (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
String arg1 = request.getParameter("parameter1");

It works fine, the problem is that when I call the link a second time with other values as arguments, the page still load by using the old values.

How can I avoid to re-use the old session and always load the FacesContext with new values?

This isn't the right design for your use case.

I suggest create a stubborn workflow and place your page inside this workflow and make your settings as parameters to the workflow.

Define your workflow ' 'Invoke URLS' to 'url-invoke-permitted ". Run your Jdeveloper workflow task to determine the URL for him.

You can access the parameters of task flow in Java by calling

AdfFacesContext.getCurrentInstance () .getPageFlowScope () .get ("param1");

Tags: Java

Similar Questions

  • "What's NEW" page opens every time you start FF

    Hello!

    After update to 9.0 (9.0.1) whenever FF starts, it opens the page "NEWS". I always close. But it looks like persisted!

    Please suggest what to do?

    Hi sigan,.

    You should look at this article on this specific issue and Preferences not savedarticle. It should give you all the information you need!

    If this does not work:

    1. Enter about: config in the address bar
    2. Click I'll be careful, I promise you if prompted
    3. In the filter field, type Startup
    4. Double click on startup.homepage_override_url
    5. Delete the text string, and then click OK
    6. Close Firefox and reopen the window to check that it worked.

    Hope this helps!

  • The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    The vi below opens a new data file every time new data of the visa arrived. I only want a single file of data for registration period!

    Can someone bring me (Labview is new to me) in the right direction?

    John

    See attached the amendment. I made a change to my suggestions and possess the top-level VI for the null refnum. See if it makes sense.

  • Avoid opening every time Lightroom that I plug a USB device into my Windows 10 machine?

    Hello

    I've recently upgraded to win 10 and now I have Lightroom CC opening every time I plug a USB key in my machine regardless of what is on the USB device. I tried to disable all the options in Lightroom without success and any internet help either gave no results. It is extremely boring and tedious since most of my USB devices have nothing to do with my photos!

    Kind regards

    Mirko

    Hello Sarika,

    As I mentioned in my post, I had already tried that I tried and it does not solve the problem. The solution is to disable the USB AutoPlay feature in Windows 10

    Kind regards

    Mirko

  • How stop the noise annoying to add to creative cloud that opens every time I startup CS6 PS?

    How stop the noise annoying to add to creative cloud that opens every time I startup CS6 PS?

    Sometimes the CS6 will go into trial mode, and here comes the announcement of the CC.

    You click on this software license, sign in using your Adobe ID and when it asks for your serial number, enter it.

    Which will bring things back to normal and get rid of the announcement of the CC.

  • Why the same tabs open every time I have start and open FF

    I closed my laptop every night. Use for when I restarted and opened the browser would ask if I wanted to open the previous days tabs, or start a new session of FF. FF doesn't that just as she begins just straight up with the same tabs that I looked a week ago. And when I go on the most visited link in FF and delete tabs, I want open even when they open... How can I fix it.

    This happens if your default start page in Mozilla firefox start page

    read this for more information:

    http://support.Mozilla.com/en-us/KB/session%20Restore#w_when-you-select-restore-previous-session-from-the-default-home-page

    http://support.Mozilla.com/en-us/KB/how%20To%20set%20The%20home%20page#w_restore-the-default-home-page

    Thank you

  • I have to get a new security code every time?

    I'm mystified by the new security code, six numbers, which must be entered in iTunes and here even every time I sign my Apple ID and password. I thought it was a done deal in obtaining a security code. I never if I receive a new security code to each time.

    This is part of the two verification step for Apple ID - Apple Support two-factor authentication

    If you cannot connect with two-step verification using your Apple ID

  • How to disable the Plugin Check to open every time browser opens

    Whenever I open firefox, "plugin check" opens. Even after I installed and updated all the plugins, the plugin check appears whenever firefox opens. After update all plugins that I restarted my pc, reset the browser and checked for if ensure that my homepage has not changed change plugin firefox, deactivated all my plugins and even tried to block the website by GUESTS.

    I am quite able to check to see if my browser and plugins are up to date and I don't appreciate the unnecessary loss of time with this plugin-control running in every time the browser opens. Similar to the updates, this should be an OPTION check not FORCED and that there should be a way to disable it without the browser opens a blank tab extra or forcing the user to change the subject: config to work around.

    Website: https://www.mozilla.com/en-US/plugincheck/

    Hello, please update firefox to the latest version - it's a problem that normally appears only on older versions...

  • Very large V.22 font size; Intro page opens every time; Add - ons are checked each opening

    Since installing V.22, everytime I open Firefox, the series "modules for compatibility checking", and the new page opens. I'm running Windows 7 Pro.

    Thanks cor - el,.
    That solved the problem of police! I uninstalled and reinstalled Firefox and that resolved the recurring Intro page and scanning problems Add on.

  • Why a VI vacuum open every time I run the application LabVIEW 2014?

    I recently installed my upgrade to LabVIEW 2014 full Developmet system. Now, every time I run a LabVIEW VI empty appears. I can't find an option that turns off. Can someone help me out here?


  • Windows Media Center opens every time that I'm looking for something!

    Hello, I have a problem. Whenever I get something, for example in google chrome, IE8, or even in Help and Support, once you press on enter it opens Windows Media Center! Like as if its been programmed to open each time! So when I was typing this, I found a similar question. The "I want to stop the windows media center to automatically...". "so I followed the instructions to go in" start > default programs > Set Program Access' and then choosing Windows Media Center to be disabled. " Now whenever I'm looking for something an error message! Something like the software has been restricted, or something. Can anyone help?

    Hi getslinky2,

    I hope you do well. It would be good if you could provide us with the exact error message. However, you can try the following steps.

    1. Click Start, then Control Panel.

    2. click on default programs.

    3. click on program access and computer by default.

    4. click on custom.

    5. allow access to this program.

    Please let us know regarding when exactly this issue started while we offer a system restore when the computer was working fine, if this is really necessary. We also know if you have made changes to the computer or programs before this problem started. Please try these steps and let us know so that we can continue troubleshooting to diagnose the problem.

    Concerning
    Support Microsoft Rehman

  • How can I stop Google Account login to open every time I open a new window?

    From the start of Fire Fox or any time, I click on a link to open a new window or if I am in an application that opens a new window, the account login screen Google keeps opening in a new tab. How can I stop this?

    -What are you talking about?

    Browser.Startup.homepage: functionfox.com/timefox

    Change the setting of the home page.

  • How to make only ONE tab open every time I start Firefox - still, my screen jumps to the new tab page, although I tried to turn it off?

    I recently had internet service for the first time in two years. Over the two years, I took my desktop computer 4 times for a friend and got the updates that were available for AVG, HP, Windows XP, Adobe, Java, Open Office. As soon as I have internet at my house a few weeks ago, I started to update everything. My computer (HP Pavilion, Pentium 4 of 2006 - old, I know) now seems to work very well, but it's very annoying that everytime I open Firefox, I get a new tab page I ask, in addition to my homepage of Mozilla. Even more annoying is that my computer automatically to this page of the new tab. I tried to disable the new tab page by following the instructions given through the Mozilla 'Getting Started' page, rebooted the computer, and nothing has changed. Please advise!

    You are welcome

  • The guard creating Explorer new tabs windows every time I click on a link

    The new tab is created but there is no information in there - it's empty.  This becomes quite annoying if you are in an internet session extended.  any ideas how to fix?

    Try -> to tools: Internet Options, and then click parameters next of tabs. At the bottom of the settings screen, you should see "restore to default". Click that, and then restart Internet Explorer.

    If this does not help, let me know.

  • When I hit my home button, firefox opens a new tab window every time with the page of homw what need me to. How can I stop this extra tab to open?

    The question above says it all. I get an empty additional window open whenever I go to my home page by using the Home button.

    You have a | after the web address that you set for your Home Page in the Options > general?

    This vertical bar symbol is used to separate the popular URL tabs when many home pages are defined as the 'Home Page' and if the vertical bar symbol is there, a blank tab opens.

Maybe you are looking for