Skip to main content
Inspiring
May 21, 2014
Question

cache query result issue

  • May 21, 2014
  • 1 reply
  • 328 views

I have a link on the form to modify a table for the drop down select control.

The link works to add or modify data, but when I come back data entry form, the drop down does not refresh data. It remains same drop down, it does not add or modify the drop down.

It seems the drop down keep cache memory.

I would like to know are there any way to refresh the drop down box after user modify the physical drop down table.

Your  help and information is great appreciated,

Regards,

Iccsi,

This topic has been closed for replies.

1 reply

Carl Von Stetten
Legend
May 21, 2014

iccsi,

You need to provide more detail about how the "add or modify data" link works (does it open a modal window, a pop-up window, navigate to a different page, etc.) and how you "come back data entry form".  Then we can see if there is a way to do what you want.

-Carl V.

iccsiAuthor
Inspiring
May 22, 2014

Thanks for the information and help,

I use navigate to another page and edit the data on a new browser.

after come back, the drop down does not have new record just added.

Are there any property to configure for a drop down always clear cache memory?

Thanks again for helping,

Regards,

Iccsi,

BKBK
Community Expert
Community Expert
May 22, 2014

You could just prevent the page from being cached. You could do that, for example, by placing the following at the top of the page:

<cfheader name="Cache-Control" value="no-cache,no-store,must-revalidate">

<cfheader name="Pragma" value="no-cache">

<cfheader name="Expires" value="-1">