Suppose I am opening a new window with window.open() and saving some changes in the window and closing the window. When I reopen the window it shows the previous values. (It display data which had appeared before the changes) after refreshing only I am getting recent data. I need new data only while opening the window.
To solve this we do: -
Response.Cache.SetCacheability(HttpCacheability.NoCache) will have to be put on onload()
Javascript code to refresh the page called window.refresh() will not work here.
No comments:
Post a Comment