Hi,
I know I'm starting to sound like a broken record about this tag, but its intricacies are endless!
I'm using CFContent (with a cfheader as suggested) to grab an image file (that I want to keep safely hidden from the webserver) and then display it in my page.
This image is used as the image source for an image map. The links all work beautifully and I can drill down on image maps for as long as I like.
However, there is a problem when the user clicks the back button. The pages that they are looking at are generated via a cf script, and the image on the page they've clicked back to is the most recent image that has been grabbed by that script. So, if they were looking at the map of a country, and they click on a particular state we get taken to that state. If they click the back button on the browser, the window.location goes back to the map of the country, but the image itself remains as the state map. I have to click the refresh button to make the old (correct) image come back.
This sounds like a refresh-on-click-of-back-button problem, but I'm not sure that I've seen a way of actually doing this (that won't send the browser into an infinte refresh kind of loop).
So, I was wondering if there was something else I should be looking at?
I know I'm starting to sound like a broken record about this tag, but its intricacies are endless!
I'm using CFContent (with a cfheader as suggested) to grab an image file (that I want to keep safely hidden from the webserver) and then display it in my page.
This image is used as the image source for an image map. The links all work beautifully and I can drill down on image maps for as long as I like.
However, there is a problem when the user clicks the back button. The pages that they are looking at are generated via a cf script, and the image on the page they've clicked back to is the most recent image that has been grabbed by that script. So, if they were looking at the map of a country, and they click on a particular state we get taken to that state. If they click the back button on the browser, the window.location goes back to the map of the country, but the image itself remains as the state map. I have to click the refresh button to make the old (correct) image come back.
This sounds like a refresh-on-click-of-back-button problem, but I'm not sure that I've seen a way of actually doing this (that won't send the browser into an infinte refresh kind of loop).
So, I was wondering if there was something else I should be looking at?