i have an asp.net app and i use the session state to store temporary data. if the user hits the back button or navigates to the page directly from their favorites, it usually results in an old page being loaded from their browser cache rather than them hitting the server for a new version.
i need to somehow check whether or not their browser has loaded a cached page and, if so, invoke some clientside code to refresh the page. i realize doing this check on the server side is probably not viable since the server is never hit if the page is loaded from their cache. therefore, i am thinking javascript may be the only answer here.