Tuesday, June 23, 2009

Javascript Back and Reload

I needed a quick way to allow my users to click on a link to bring them back one page and reload that page so that some of the filtering options that I was implementing would take. I simply used a combination of the javascript: history.go(-1) function and a Response.Cache.SetNoStore(); on the page that was to be reloaded (set in the Page_Load event in the cs file).