Skip to main content
Participant
January 21, 2015
Question

Manipulating the browser history

  • January 21, 2015
  • 3 replies
  • 1815 views

ColdFusion doesn't work with 'browser history'-- 'window.history.go(-1)'.

    3 replies

    Participant
    August 22, 2025

    The error code ERR_CACHE_MISS error in Chrome, is generally due to the browser has some problems with its cache system. The error message happens when any web page demands the browser to re-enter some data or reload the data on view. It  occurs when the resources within the cache have problems that will not let it work properly. It comes as a notice that asks the user to do something like enter any form data that must be filled in again or reload the page to repair the problem. Some common causes are such as:-

     

    1) Browser Cache issues

    2) Coding problems on websites

    3) Network connection issues

    4) Extensions and Plugins conflicts

    5) Faulty Browser settings

    Participant
    January 22, 2015

    CF 8,9,10 work with 'browser history'-- 'window.history.go(-1)'.

    CF 11 doesn't work with 'browser history'-- 'window.history.go(-1)'.

    BKBK
    Community Expert
    Community Expert
    January 22, 2015

    I have tested it with ColdFusion 11 (Build 11.0.03.292480) on Internet Explorer 11, Firefox 35 and Chrome. It works as expected.

    My test files are as follows:

    page1.cfm

    <a href="page2.cfm">Go forward to page2.cfm</a>

    page2.cfm

    <a href="page3.cfm">Go forward to page3.cfm</a><br><br>

    <button onclick="goBack()">Go back 1 page to page1.cfm</button>

    <script type="text/javascript">

    function goBack() {

        window.history.go(-1)

    }

    </script>

    page3.cfm

    <button onclick="goBack()">Go back 1 page to page2.cfm</button>

    <script type="text/javascript">

    function goBack() {

        window.history.go(-1)

    }

    </script>

    BKBK
    Community Expert
    Community Expert
    January 21, 2015

    Coldfusion code runs on the server. The code 'window.history.go(-1)' is Javascript, which runs on the browser.