Problems with "back" and "forward" buttons on browser
-
I'm working on a file management application that has several *.aspx pages. On the main page, it shows a list of files and folders. When the user clicks on "remove file" button, a new form (removefile.aspx) loads up and has a button to remove the selected file(s). This action physically deletes the file(s) from the server. There's also a "done" button on that page that reloads the main page and refreshes the files/folders list. However, if the user does not use the "done" button to go back, but uses the broswer's "back" button, the main page loads but the files/folders list is not refreshed. How can I make it refresh? One more problem is that I often get this message when using the "back" and "forward" buttons on the broswer: "The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit your information and view this Web page, click the Refresh button. " Lastly, when I click on "refresh" button of the browser, it says "page cannot be refreshed without resending the info. Click retry to send thei info again." How do I prevent all these problems?
-
I'm working on a file management application that has several *.aspx pages. On the main page, it shows a list of files and folders. When the user clicks on "remove file" button, a new form (removefile.aspx) loads up and has a button to remove the selected file(s). This action physically deletes the file(s) from the server. There's also a "done" button on that page that reloads the main page and refreshes the files/folders list. However, if the user does not use the "done" button to go back, but uses the broswer's "back" button, the main page loads but the files/folders list is not refreshed. How can I make it refresh? One more problem is that I often get this message when using the "back" and "forward" buttons on the broswer: "The page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you. To resubmit your information and view this Web page, click the Refresh button. " Lastly, when I click on "refresh" button of the browser, it says "page cannot be refreshed without resending the info. Click retry to send thei info again." How do I prevent all these problems?
Hi, I've just replied to another post regarding a similar problem, but if you're working on a browser-based application and want to control Back & Forward, I have found that the simplest and most effective solution is to have your application launch itself in a browser configured with no toolbar buttons or menus - eliminating the User's ability to go back and forward whenever they choose. This have saved me from lots of headaches with the same problem on many projects in the past, and it even gives you more space for your gorgeous pages! You will also need to capture keypresses & mouseclicks to prevent keyboard shortcuts and the buttons on some mice from performing the same action. Regards, Jon.;P