Good old "Disable brower's Back button" question.

I don't have to implement it. I am posing this question just out of curosity . Is there a way we can somehow disable Back button on our browser starting second page onwards?
I recently browsed one site that had "Next" and Previous" buttons on each page. Surprisingly Back button on all the pages was disabled.
I know, when we open the first page for browsing, Back button is disabled by default. Is there a way we can force browser to treat each and every page as the first page? How did they implement this functionality?
Thanks.

If you're using JSPs, simply ensure that they are not being cached by the browser.
<%
response.setHeader("Cache-Control","no-cache");
response.setHeader("Pragma","no-cache");
response.setDateHeader ("Expires", 0);
%>Otherwise, there are a couple of ways to do this via Javascript.

Similar Messages

  • Disable/hide navigation Back button in particular overview page

    Hi All,
    I have to disable/hide navigational 'Back' button on Task overview page. I tried to achive this in WD_HISTORY mehtod but no luck.
    Please suggest me how to do this.
    Thanks,
    Nanaji

    Hi Laxmana,
    I did the same thing as you suggested, by commenting the super class method we can just stop to go to previous page but not all the pages which are stored in back button history.
    My actual requirement is, back button should not be visible to user or should not function anything. User should not use back button to navigate away. user must use 'save and back' or 'save' buttons.
    Thanks,
    Nanaji

  • Broswer Back Button Question

    Hello,
    I have created an HTML web page with one Flash SWF file. This
    file has 3 sequential scenes as follows:
    1. Loading scene (displays while the rest of the file is
    loading
    2. Intro scene (displays a little animated introductory movie
    to build the home page for fun)
    3. HomePage scene (displays the fully loaded home page)
    When the user navigates to a subsequent screen by choosing a
    link from the home page and then hits the browser's "Back" button
    (in this case Internet Explorer), I'd like for them to be taken to
    the first frame of the 3rd scene so they do not have to watch the
    introductory movie again (I do have a "Skip Movie" link, but I'd
    prefer for them to not even have to choose this in this scenario).
    However, when the IE browser's back button is selected, the
    entire movie is played again. I assume it's jumping to the first
    frame of Scene 1 (Loading) and then detecting that the file is
    loaded and fast forwarding to the first frame of Scene 2 (Intro).
    I thought maybe named anchors would help, so I named the
    first frame of the 3rd scene "HomePage". When the movie initally
    reaches this scene the URL in the browser changes to
    "default.html#HomePage" as I expected. However, if a link is
    selected from the home page and then the browser's back button is
    selected, although the URLreturns to "default.html#HomePage", the
    intro movie is displayed regardless.
    There is one scenario that consistently works the way I want
    to to. It is as follows:
    1. Open the web site
    2. Loading scene plays, Intro movie plays, and then HomePage
    is displayed
    3. Choose a link for from the home page
    4. New page (I'll call it Page2) is displayed the same
    browser window - Page2 has a completely different flash movie.
    5. Choose a link from Page2
    6. A third page (I'll call it Page3) displays in a NEW
    browser window
    7. Close Page3 window
    8. On the Page2 window, choose the browser's back button
    9. The window displays the 3rd scene (HomePage) of my initial
    flash movie as I want it to.
    This works consistently, but consistently doesn't work if I
    don't navigate to Page3 as described. I have no idea why.
    Sorry for the lengthy email, but I didn't want to leave out
    any pertinent information.
    Thanks so much
    Steve

    I think there are methods out there (or on the immediate
    horizon) that allow you to use the browser's back button to
    navigate within a single SWF, but I don't think that's the answer
    for you.
    Maybe using a Shared Object (basically a Flash cookie) to
    indicate the user has already been through the intro would be a
    better way to go. So the first time through you would write the SO,
    then you'd check for its existence on your Intro Scene page. If its
    there, skip to the Home Page scene.
    Here's the Live Docs link for SOs:
    http://livedocs.macromedia.com/flash/8/main/00002661.html
    Note: Be aware of the security restrictions on the Flash
    player.
    Good luck!

  • Disabling FORWARD and BACK Button of Internet Explorer thru JavaScript....

    Hello everybody,
    Can anyone tell me how to disable the FORWARD and BACK Button of Internet Explorer through JavaScript.......If possible give me the code snippet.....

    You can not do this in JavaScript.
    However, if you set the right response headers in the response IE will disable them:
    response.setHeader("Pragma","no-cache");
    response.setHeader("Cache-Control","no-store");
    response.setHeader("Expires","0");
    would do the trick.
    Silvio Bierman

  • Disabling browser forward & back buttons

    Does anyone know how to disable those 'windows/browser' forward and back buttons next to the arrows on the T510 with win 7 x64?
    I know older thinkpads had software to modify the keyboard, i'm not seeing any options here.
    I find those keys to be somewhat annoying -- i've already lost work by accidentally tapping them.
    thanks!
    Solved!
    Go to Solution.

    Have a look here:  http://forum.notebookreview.com/showthread.php?t=4​69665  I think that utility might do the trick!
    ThinkPad T510 : i5-540M : 8GB PC-10600 : 500GB 7200rpm : 15.6" HD+ : Intel 6300 : Win7 Pro 64 : 9Cell
    Ordered 2/Feb/2010 : Shipped 22/Feb/2010 : Received 3/Mar/2010

  • Ghostery disables forward and back buttons in version 10

    Forward and back arrows are greyed out and do not function when Ghostery is enabled. If I start in safe mode, without Ghostery, the forward and back arrows function properly.

    -> [[Back and forward or other toolbar items are missing]]
    If the buttons are working in -> [[Safe Mode]], then you need to make sure which extension was causing the problems.
    * [[Troubleshooting-extensions-themes#w_test-for-faulty-extensions|Test for faulty extensions]]
    * When you find-out which extension was the source of problem, Contact the Add-on's Developer about this issue and Report the problem.
    Check and tell if its working.
    Not related to your problem but some of your Firefox Plugins are out-dated
    * Update All your Firefox Plugins -> [https://www.mozilla.org/en-US/plugincheck/]
    * '''When Downloading Plugins Update setup files, Remove Checkmark from Downloading other Optional Softwares with your Plugins (e.g. Toolbars, McAfee, Google Chrome, etc.)'''

  • How to disable  browser back button after session logout..

    Hi;
    I want to restrict the user to use the back button after session expired or logout. By doing the session expired we are restricting the user to do any new work but I want to restrict the user to see the back pages that he surfed previously in the session.
    Is there any method to disable the browser back button after the session Expired?
    please help me to find out the solution..
    Thanks in advance.
    With Regards,
    Haramohan

    One possible way is automatic return to the current page by writing the following Javascript code to the previous page:
    <script language=JavaScript>
    function backButtonOverride(){
    setTimeout("backButtonOverrideBody()", 1);
    function backButtonOverrideBody(){
    try {
    history.forward();
    } catch (e) {}
    setTimeout("backButtonOverrideBody()", 100);
    </script>
    <%
    catch(Exception e){
    %>
    <jsp:forward page="front.jsp"></jsp:forward>
    <%
    %>

  • Disable Browser Back Button

    Hi All
    I'm developing a web app using jdeveloper 11.1.1.4.
    In my web appication I want to Disable the browser Back button,
    Is there way to do this,
    Thanks
    Padma

    Hi,
    no, there is no option for this. You can try JavaScript as explained here: http://viralpatel.net/blogs/2009/11/disable-back-button-browser-javascript.html
    See: "Disable Back functionality using history.forward"
    Frank

  • Disabling Browser back button

    Hi,
    Is it possible to disable browser's back button from Applet?

    There might be some way to clear the browser's history so there's nowhere to go back to. Or set the current document as the "previous" document. Or open up a new window without a toolbar, or without a history....etc
    In most cases though, it's a pretty nasty thing to do. Let the users control their own computers, and just have your software do its job.

  • View State Animations & the Back button (on Android)

    Hello, everyone!
    Is it possible to animate between view states when developing for mobile devices (like Android)?
    And if so (and the bigger question for me), when you transition from one state to another, can you use the Back button on the Android device to transition back to a previous state?

    Hi, Jason,
    First and foremost, thank you for your timely response, and for your well-received advice!
    After reading the posts from the MAX Beta link your provided, it is my understanding that if you disable the default back button handling, that the button itself would no longer function in the application.
    I still want to use the back button, but I want to add the back button's popView function to states as well as Views.
    If I missed anything, please let me know.
    And thank you, once again!
    PS-I don't know if this makes a huge difference, but I'm using the latest pre-released version of Flash Builder 4.5 with AIR 2.6 (released 2 weeks ago).

  • Disable Refresh and back  facilty in a jsp page

    hi,
    I have a jsp page which makes entries in a db. to stop is doing it again (by refreshing the page) refresh facility is to be diabled. I do not want to use cookies or session . Can any one tell me how to disable refresh and back button in a html/jsp page
    Atishay

    i am bit new with jsp and i do not know how to use synchronization token
    howeever i think if we have a hidden input with value=0 and later make it one when entry is made in the db by the jsp page. But the problem is that i do not know how to check the value. Because each time we refresh the page the value of the variable will be initialized so a check can not be made.
    Also following will help
    <META HTTP-EQUIV="Expires" CONTENT="Fri, 1 Jun 2001 00:01:00 GMT">
    but how to take the time of the host machine which will run the jsp page.
    Thanks
    Atishay

  • Browser back button does not work (IE) - Error On Page message

    Just take over website from our designer; I'm new, probably doing more fiddling on the live remote website than I should be...
    http://www.cmcwny.org
    Error On Page message, internal links work, but the browser Back button does not (at least in IE). 
    I have a backup of my local site from before this happened, but I do not know how to actually replace it.
    Any help on either issue will be appreciated, thanks!
    Larry Congdon
    Buffalo, NY, USA

    Hi
    First, get rid of your designer, the page design/code is a mess.
    There are a number of problems with the page, not least being the disabling of the back button in all browsers I tested it in, (visitors may visit once with this, but are unlikely to do so a 2nd time).
    The menu system is a fixed size so that when the browser is resized it overflows the browser window.
    The use of tables for layout is not recommended as it is inaccessible to users using assistive devices.
    To put this more politely, if you paid for this, ask for your money back. If you did not pay, then start again and use one of the dreamweaver layouts for your page, for more info, see - http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_layouts.html.
    PZ

  • My phone is stuck between off and on.  It has a white, slash circle going around and around.  The button on top doesn't seem to do any good.  The phone is only 31 days old. Please write back, I can't use it to even call in an emergency.  Thank you

    My phone is stuck between off and on.  It has a white, slash circle going around and around.  The button on top doesn't seem to do any good.  The phone is only 31 days old. Please write back, I can't use it to even call in an emergency.  Thank you

    I had major issues with the iPhone 4s battery, however it’s resolved.
    The tech who set the phone up at the Apple store did so with little training.
    if you have a mobile me account. First go and move all your data to the cloud by going on your computer and logging in at me.com/move. The cloud has replaced mobile me, so there is no need for those two accounts
    Also make sure that for any of your email accounts you set them up to fetch, not push. My tech person set them all to have the email servers push data to the phone. The new iphone4s antenna is extremely strong so it will continually try to access stuff that is pushed–***** a lot of battery life doing this. It makes it worse if you have exchange 2010 accounts. Something about changes made to exchange really suck battery life from devices that access such accounts.
    turning of locator and the push notifications from facebook--they have a lot!

  • Firefox was a good, but now it's slow and when I search google I have to refresh the page when I click the back button. This is driving me to other browsers.

    When searching in goole, If I click on a link and want to go back a page firefox does not load the previous google search without refreshing the page. Because I use google frequently this is very annoying. Firefox has also been freezing and crashing most frequently of any of the other browsers that I have been driven to use. I'm not sure why I should keep it on my computer at this point.

    Regarding the Google results page blanking out when you go back, this occurs when using a combination of three settings, which may be fairly common:
    * Zoom level higher than two steps (120%; the newest versions of Windows apparently default to 125%, which Firefox detects and adopts)
    * Google search set to instant prediction results (default on Google search, but can be disabled in Search settings, see [https://support.google.com/websearch/answer/186610 Google Instant Search Help])
    * Opening results in the same tab, then using the Back button to return to the results page (default on Google search, but can be changed in Search settings to open results in a new window/tab, see [https://support.google.com/websearch/answer/425 Google Search Help])
    Firefox's cache feature attempts to maximize speed for forward and back actions by storing the last rendering of the page. Something about the instant prediction results ''with zoom'' is causing Firefox to briefly display the results and then they blank out and you have to reload the page to get them back. The mystery is why this only occurs (so far as I have heard) on Google? Is one of Google's scripts blanking out the page? Does Google care that it's messing up Firefox users?
    For now, if you do not want to or cannot change any one of the three factors needed to experience this problem, you can disable the storage of the last rendering of the page. Then Firefox will skip the shortcut and lay it out fresh, which is known to work. As noted in earlier posts, you make this change using the about:config preferences editor.
    (1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
    (2) In the search box above the list, type or paste '''sess''' and pause while the list is filtered.
    (3) Double-click the '''browser.sessionhistory.max_total_viewers''' preference and change it to 0 (that's a zero).
    This thread has a lengthy discussion: [https://support.mozilla.org/en-US/questions/970863 When I go back to Google search results page, it takes me to a blank Google screen].

  • I use the old version of firefox and have tried the new one BUT on the new one the down arrow next to the forward/back buttons is not there. I need to have this so I can return to several pages ago, please tell me if the new version has this feature

    Old versions have a down arrow next to the front and back buttons to show all the pages you have visiteed and can return to but the new version does not have this feature

    ( Windows) right click the arrows and the listing will appear. The change may well be documented somewhere but if so I do not recall where. Presumably other OS such as Mac's will also have the feature using some other shortcut.
    If this solves your problem please '''log in''' and then click the solved button, the question and answer will then display in search results and should help others.

Maybe you are looking for

  • Custom Swatch Panel

    Hello, I want to create a custom color swatch panel for Illustrator. But I cant figure out a way to add swatches to the panel and drag/drop them into file. Kindly guide me to an example or the steps required to build such a panel. I'm new to flex sdk

  • CALL FUNCTION SEND ERROR when displaying attendance report in PDF format.

    We implemented SSO/webgui.  The users did not have any issues with printing reports from SAPGUI.  In webgui, however, we had to define a Local PDF1 printer, per SAP Note  771683.  When users prints this report, it is generating 1-5 CALL_FUNCTION_SEND

  • Status manager field report in pwa 2010

    From Ms project or project server I am trying to get a report on status managers on tasks.  is there a way I can get status managers listed on the tasks in a report other than Opening all projects individually?

  • Keyboard shortcut to merge cells in a table?

    Does anyone know if there's a keyboard shortcut to merge cells in a table in Pages? That would save me a tremendous amount of time. I've looked in the documentation, and there wasn't one listed.

  • Example of xml file with connection pool SAP

    Hi Everyone I need a .xml file with pool connection SAP to run on weblogic 8.1. Where do I get it? Thanks