Using VS2005, VB code behind and javascript.
I have several pages that when accessed for a second or subsequent times always need to hit the server - but what I'm seeing with some users is that they are accessing cached pages. I want to force these pages to always get the latest page from the server.
From client side javascript I know how to set the "if-modifed-since" request header to ensure that my xmlHttpRequest's are always served, i.e. "xmlHttp.setRequestHeader("If-Modified-Since", "Sat, 1 Jan 2000 00:00:00 GMT");". When I view the request headers collection from this request I see "If-Modified-Since" with a value of "Sat, 1 Jan 2000 00:00:00 GMT" in the list.
My problem is that I want my aspx page requests - not just ones that originate from javascript - to have the "If-Modified-Since" request header set to an old date. Stated another w ...
Go to the complete details ...