We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12300
    • 12 Posts
    I’m using Ajax Search 1.5

    Call to search: [!AjaxSearch? AS_landing=`7`!]

    Results page code: [[AjaxSearch? &ajaxSearch=`0` &AS_showResults=`1`&AS_showForm=`0`]]

    It seems that a search request on any page will bring up the results... but doing a second search is bringing up the search results from the first search.

    Try: http://www.blackpointinn.com/inn/bpi18.html
    do a search for lobster...
    click to any page and try another search for beach
    you’ll get the results for lobster

    It must be a cache problem... but I’m not sure where I find the variable to clear it.

    Any ideas?

    Thanks
      • 7923
      • 4,213 Posts
      set the results page uncached or change the snippet call to be uncached, eg. [!AjaxSearch?....!]


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 12300
        • 12 Posts
        grin Thank you! That fixed it.

        H