I have a little problem with my site. I have a page that has a google map. However, the map is not displayed until the user clicks the button. Then it calls $ .getJSON to get the addresses that I need to show on the map ...
$.getJSON(theurl, function(json) { ... }
Everything works perfectly. However, if the user then goes to another page and then clicks the back button, they get the data from the call to $ .getJSON, and not the page itself.
As if the call to get addresses became part of the browsing history. If the user clicks the Refresh button when the data appears, a full page is displayed.
Can someone tell me how to stop this.
I am using googlemap on ASP.Net MVC site.
thanks
Richard
source share