abrahamsibu:
These tags are not there in my config files.
My actual problem is,
I am calling a web page using window.open("a.aspx","_self"). The page a.aspx is displayed but with old data i.e. an old instance of page is displayed. Is there a way by which I can get a fresh page every time I request for that page.
abrahamsibu,
Since you are calling the page through window.open() but not doing a postback to the same original page that transfers you to the other page, the browser identifies the link as the one you already visited, searches your cache if the version of that page already existings or not. If yes, it simply displays the page. There are meta tags that you can specify inside the head tag that may inform the broswser not to use the cached version but may a fresh request.
Use the following tags inside head tag of your page.
<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
Both the above tags should be included if you are not sure if server is HTTP/1.1 compliant. Also Include:-
<META HTTP-EQUIV="EXPIRES"
CONTENT="Mon, 22 Jul 2002 11:12:01 GMT"> tells the server which cache the page to expire the page in given time interval. An invalid interval like "0" or "-1" expires it immediately and causes a fetch of latest version of file, each time request is made.
you can get complete info at this link :- http://www.i18nguy.com/markup/metatags.html
Kindly mark it as answer if this solves your concerns.
J. Venkatesh
Syntel