Old value of the variable if you press the "back" button

Hello

first of all I want to provide a clear explanation of the problem let me, if not I apologize.

In my fantasy football site I allow users to change one player from their roster on a weekly basis.

No problem with this: once the new player has been selected, the change is made and the user is redirected to a page confirming that everything happened just.

The new list appears to update if the user clicks on the link "alignment" on the main menu.

A problem arises if the user press the back button of the browser instead, because the shape which allows modifications of the list is available again (and I'll have somehow to ensure that it is not), but above all, if the user presses return once again, the page with the original list is displayed , i.e. showing the player comes to file instead of the newly acquired one.

I guess something must be added at the beginning of the display of the list page, but I wonder what kind of verification he must run.

Any suggestions? Do I have to provide the code?

Thank you

Giovanni

Updated pages in cache by default.  The following three commands will not cache them.



We so often do, we made a tag custom with these three commands.

Tags: ColdFusion

Similar Questions

  • Get the old value and the new value based on the date

    Hello

    I have a table called list created below with the rest of the insert statements.

    CREATE TABLE ROSTER
    (
    NUMBER OF ROSTER_EMPLOYEE_DEF_ID
    NUMBER OF EMPLOYE_ID
    NUMBER OF DEFINITION_REGION_CODE
    NUMBER OF DEFINITION_DISTRICT_CODE
    NUMBER OF DEFINITION_TERRITORY_CODE
    START_DATE DATE,
    END_DATE DATE
    )



    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (1,299,222,333,444, 'JUNE 1, 2011', 30 JUNE 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (2,299,223,334,445, "1 JULY 2011', JULY 20, 2011" "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (3,299,224,335,446, 'AUGUST 1, 2011', AUGUST 30, 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (4,300,500,400,300, 'JUNE 1, 2011', JUNE 20, 2011 "")

    INSERT IN THE LIST
    (ROSTER_EMPLOYEE_DEF_ID, EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE)
    VALUES
    (5,300,501,401,301, "1 JULY 2011', JULY 20, 2011" "")


    In the table above we have columns like

    EMPLOYE_ID, DEFINITION_REGION_CODE, DEFINITION_DISTRICT_CODE, DEFINITION_TERRITORY_CODE, START_DATE, END_DATE

    The result I'm looking for the table above is based on the employe_id OF start_date AND end_date

    I need to get the OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_CODE
    Similarly, OLD_DEFINITION_REGION_CODE and the NEW_DEFINITION_REGION_CODE
    and OLD_DEFINITION_TERRITORY_CODE and the NEW_DEFINITION_TERRITORY_CODE


    I need to get a row of data for each employee saying old value and the new value

    for the employee 299 there are 3 records he puts the new record which is the latest date is to say beginning August 1, 2011 and end date of recordings old 30 August 2011
    beginning July 1, 2011 and July 20, 2011


    For the data in the table above, I need to get the data as below


    EMPLOYE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_CODE OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE START_DATE END_DATE
    299 223 224 334 335 20 JULY 11 30 AUG 11
    300 500 501 400 401 20 JUNE 11 JULY 20, 11


    Please suggest me to get the result above, based on the data. Please let me know if my messages are not clear


    Thank you
    Sudhir
    SELECT  EMPLOYEE_ID,
            OLD_DEFINITION_REGION_CODE,
            NEW_DEFINITION_REGION_CODE,
            OLD_DEFINITION_DISTRICT_CODE,
            NEW_DEFINITION_DISTRICT_CODE,
            OLD_DEFINITION_TERRITORY_CODE,
            NEW_DEFINITION_TERRITORY_CODE,
            START_DATE,
            END_DATE
      FROM  (
             SELECT  EMPLOYEE_ID,
                     ROW_NUMBER() OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE DESC) RN,
                     LAG(DEFINITION_REGION_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_REGION_CODE,
                     DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE,
                     LAG(DEFINITION_DISTRICT_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_DISTRICT_CODE,
                     DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE,
                     LAG(DEFINITION_TERRITORY_CODE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) OLD_DEFINITION_TERRITORY_CODE,
                     DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE,
                     LAG(END_DATE) OVER(PARTITION BY EMPLOYEE_ID ORDER BY START_DATE) START_DATE,
                     END_DATE
               FROM  ROSTER
            )
      WHERE RN = 1
    /
    
    EMPLOYEE_ID OLD_DEFINITION_REGION_CODE NEW_DEFINITION_REGION_CODE OLD_DEFINITION_DISTRICT_CODE NEW_DEFINITION_DISTRICT_CODE OLD_DEFINITION_TERRITORY_CODE NEW_DEFINITION_TERRITORY_CODE START_DAT END_DATE
    ----------- -------------------------- -------------------------- ---------------------------- ---------------------------- ----------------------------- ----------------------------- --------- ---------
            299                        223                        224                          334                          335                           445                           446 20-JUL-11 30-AUG-11
            300                        500                        501                          400                          401                           300                           301 20-JUN-11 20-JUL-11
    
    SQL>  
    

    SY.

  • The back button often responds with a drop down menu of the story rather than simply go back to the previous page. There used to be a small arrow for that, why did you do that?

    The back button often responds with a drop down menu of the story rather than simply go back to the previous page. There used to be a small arrow for that, why did you do that?

    When I left click on the back instead of the browser navigation back button, I go almost every time to get the list of previous browsing history or it will just doing nothing until I click on the new button. The history of combination of button "return" rather than a separate between the historical click of the buttons box is the problem. Combined with my arthritic fingers of aging that is. If I was as fast as I used to be I guess it wouldn't be a problem. I liked the separate history area. This action combination navigation / buttons story scenario is problematic. I'm fairly certain that if I find it quite disturbing to bring to your attention that there are others (old beards) in the same boat I am.

    Thanks for listening
    D

    Use one of the following methods to open the tab history list:

    • Right-click on the back or next button
    • Press and hold the left button of the mouse on the active back or forward button until the list opens

    You can watch this extension:

  • How to keep the input value after click on the back button being the ADF

    Hi expert,

    I have a case currently the adf:

    1. I put 'value' in the Label 1

    2. I click on the next button

    3. I click on the "back" button

    4. the 'value' went from 1 label.

    How to keep the 'value' of 1 tag after I click back, do you have any suggestions?

    Kind regards

    Ricky

    Hello

    Where you store the value? Try to store it in a variable pageFlowScope or a property of the pageFlowScope bean.

    value = "#{pageFlowScope.testVar} '"

    value = "#{pageFlowScope.testBean.testVar} '"

    Kind regards

    Ruben.

  • What happened to the button on the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? I use it all the time and it is not on FF4.

    What happened to the button on the left end of the address bar which allow you to see the pages you had been so that you don't have to click the back button several times? You can look at the drop down window of pages and just choose whatever you want. I use it all the time and it is not on FF4. I want to go back to the old FF.

    If you right click on your back button, or click and hold down the mouse button, it will display the list. (I prefer a click-right, because sometimes my fingers slide when I try to click and hold)

  • Make a call from my application and return to the same without pressing the "back" button.

    Hye

    A point which leads to call screen appeal of my app. Now, I want the native application should be called as soon as the call is interrupted without pressing the "back" button.

    Thanks in advance!

    Give your app this authorization.

    You can check the permissions and ask those missing using http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/applicationcontrol/Application...

  • I bought a year of adobe cc today. When the screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page such that it could take a few minutes. 7 hours ago. The cat to help told me it would take 24 hour

    I bought a year of adobe cc today. The screen came to tell me that he has been to process my payment, do not press the 'back' button or refresh the page, because this could take a few minutes. 7 hours ago. I contacted the Department of chat help and told me it would take 24 hours to process. Is this normal? Why the screen me "a few minutes" looks like if she's actually 24 hours? Does anyone else have this problem? I'm so tempted to just refresh the page and try my luck with my credit card, canceling a second payment if it happens. THIS could be faster.

    Hi stephanie palmer,.

    We would like to inform you that your order has been placed successfully and you can the course using the subscription.

    Please follow the link mentioned to install products below.

    Using creative cloud | Download, install, update or uninstall applications

    Kindly share the results once made.

    Thank you

    Atul Saini

  • How to remove the default save alert by pressing the "back" button

    Hi all

    Scenario: I have a screen in which, after I press the back button, the default alert box appears with the options "save, delete, cancel. How do I remove this menu?

    I tried to find it on the forum, but I guess that I do not use the search words to the right. Sorry for starting a new thread, in case it is a solved problem.

    Override the onSavePrompt method in your screen class

    and return true;

    protected boolean onSavePrompt() {
            return true;
    
        }
    
  • [ADF, JDev12.1.3] step-recording-shape built with fragments: validation should not happen when you click on the "back" button

    Hallo,

    I have a btf containing fragments of 4 in the order who are at the stage of the registration form.

    Each fragment contained fields for the same instance of VO. the points of the fields is managed through the property Required for the APP.

    Each fragment has a front and a "back" button to go to the next/previous step (buttonthe Action property is set to the name of the species of specific control flow).

    In each fragment of the automatic validation - occurs when the user clicks the next button if the form is not well filled. It is very good.

    The problem is that validation also occurs when the user clicks the back button: in this case the validation should not happen.

    How can I achieve this?

    Thank you

    Federico

    Have you attempted to immediately assign = true on the "back" button?

    Dario

  • How can I disable the menu drop-down list on the back button?

    I use a laptop and my hands are not too clever. Whenever I click on the 'back' button, I get the drop-down list, which means that I must then back up my hand to the pad (gently!) to move the pointer, and then try again. It may take me several attempts to turn back a site now!

    I searched for hours how activate the drop-down list, nothing is done and even looked through all the settings in: config to try to find a way around it. Seriously impact my ability to use my laptop on the web now, so if someone can you please come up with a way to return to the old back button, with no menu when my finger slow old cannot move pretty fast down the key, I would be very grateful.

    There are two other ways to return to a page.

    • Right click on a box empty page you visit and use the dos command
    • From the keyboard, press {Alt + left arrow}
  • Why the 'Back' button often fails for the first time after moving to a new page to work?

    During further testing, I can repeat this bug every time: it happens when I clicked on a page background (focus it and allow scrolling arrow key). After having done this, clicking on the back button does not work as expected: don't not visually get "push the button" and the browser does not return to the previous page. Instead, everything on the menu (help, all file) becomes grey as if Firefox just lost focus.

    It almost seems like Firefox 7 has a 'smart' function to prevent accidental 'Back' presses, but if so, it does not work!

    Please let me know if you need more information about this bug.

    See:

    The default value of the pref Network.http.Max - connections has been increased from 30 up to 256 in versions of Firefox 6 +.

    Try to decrease the value of the pref Network.http.Max - connections 256-30 such as used in versions of Firefox 3.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • The Back button only allows me to return a page at a time instead of select a previous page from a drop-down list. It is a real problem: someone has any ideas?

    In the previous version of Firefox, I could go back to a previous page by clicking on a part of the previous button which brought up a list of recently visited sites and clicking on one of them, might go back to this page. This installation does not seem to be available in the latest Firefox, and the back button only goes back one page at a time. It's really embarrassing, like,

      it now takes longer to get to an earlier page
      there is no visibility of previous pages visited
      any actions carried out on webpages are undone when going back through them - this does not happen when jumping back several pages in one go.
    

    It is a real problem, I used the old system constantly and cannot continue to use Firefox 4.0 unless there is a way around it.

    Use it to open the history list:

    • Right-click on the back or next button
    • Press and hold the left button of the mouse on the active back or forward button until the list opens

    You can watch this extension:

  • Using the "back button" update for the LCD screen on the 60 d

    I used this method all the time, but now when I push on the development of the "back" button, it snaps as it is to take a picture, but no image is recorded on the SD card. When I look through the viewfinder and use the button "return" of discussion, it works perfectly.  I would like to know how to get back to the old method of development on the LCD screen, with the emphasis of the "back" button.  My Canon is a 60 d

    pixeltaker wrote:

    I used this method all the time, but now when I push on the development of the "back" button, it snaps as it is to take a picture, but no image is recorded on the SD card. When I look through the viewfinder and use the button "return" of discussion, it works perfectly.  I would like to know how to get back to the old method of development on the LCD screen, with the emphasis of the "back" button.  My Canon is a 60 d

    You must go to the menu and move the quick mode to Live Mode.  In fast mode, when you press on the "back" button, the mirror flips down (click) and the camera tries to focus.  He has not yet made the photo.  To take a photo, you must listen to the AF confirm beep, then press the shutter button.  Quick mode is in fact the "snail", in my opinion .  Read more about this on page 160-168 of this manual.

  • When click the "back" button after filling out web form, I can't, a message says that Firefox must send information that will be rpeat any action... Why can I go back?

    My current Firefox is version 9.0.1 update
    "when I click on the"back"button after filling web form or make payment online etc, I can't go back to my homepage, if I press the BACK BUTTON (arrow) a message said.
    "Firefox must send information that will repeat any action (for example, a search or order confirmation) that was carried out earlier.

    I don't want to re - order or repeat the process over. The only thing I can do is to leave Firefox and start again which is very painful.

    Any solution will be appreciated.

    Older Firefox had this coming message in case you have used the back to go to a page that is requested from the server with the POST data specific to a form previously sent.

    You receive an alert to send POST data if you return to a page or refresh a page that was requested in advance from the server by submitting form via a (hidden) MESSAGE form data.

    Firefox can only make sure to get the same page send this POST form.

    Firefox doesn't know what it means shape data, so Firefox asks for confirmation before sending the form data so action can you take to repeat an action and buy another article or post a message once.

    A way to prevent that pop up is not to use the back button, but to open the links on a page that have been requested from a server by sending a MESSAGE form in a new tab (window) with a middle click or a Ctrl + left click.

    Then you can close the tab or window to go back.

  • How can I stop the page to reload automatically when I hit the back button?

    A few months back, I upgraded to a new laptop, and since then, when I hit the back button, it refreshes the previous page from what I can understand. On my last laptop, if I was doing some research on a site and click the previous button, the search bar would be automatically ready to hit the BACKSPACE and delete what is there for a new search. Now, when I hit the back button, I have to manually click inside the search box to do, and I hate it. When you are doing research on multiple sites, like this time savers really help. This applies to regular sites (forums, online stores, etc.), not search like Google sites.

    I don't have this problem on my old laptop and does not know how to solve this problem on this one. They are the two Win7 x 64, and version of the browser is not the issue. I started Firefox on this computer that same exact on the last of them, and after the updates, it's always the same. I am currently on 8.0 but will soon be upgrading to the new.

    Do you mean that the search bar on this page focus?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions or if hardware acceleration is the cause of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for

  • Battery life goes faster since last week

    Hello everyone, since last Sunday the battery of my iPhone 6 (16 GB, over 1 year) worsens, although I do not change how to use my phone. Normally, the battery lasts for several days, but now I have to charge in the afternoon and all night. Last year

  • BRAVIA kdl 4dex521

    All trying to watch a movie, he says I have to install Flash Player 10. When I try to install the small wheel begins to turn and it never downloads. Someone who can help, I appreciate it.

  • 8 issues of the new owner of the Satellite Pro L300

    Hello to all forum users! I bought a new Toshiba, the Satellite Pro L300 laptop and have until January 14 to test - if it looks like it is not working properly I will return it to the store where I bought it. Here is a list of questions I have: 1. wh

  • G6 notebook pc Pavilion: Hello, I tried to create a bootable USB key to install Windows XP. WH

    HelloI tried to create a bootable USB key to install Windows XP. When I tried to copy my files to osi XP USB tool of Flashtoboot my laptop suddenly stopped working with some messages of the blue screen and hit up with a screen that is black with the

  • Use 4 GB of ram on Satellite L500/049

    Satellite L500/049Part Number - PSLS3A-049002 My Notebook model is this one. When I bought this computer on last December. I have 32-bit installation of Windows 7. Then I discovered the only used 2.84 GB ram. So, I followed the toshiba Web page to re