Is it possible to prevent a browser from caching an ASPX
page?
Answer Posted / manoj
Write this code in the Page load event of the code behind :-
Response.Cache.SetCacheability(HttpCacheability.NoCache);
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
What are the session variables?
What is asp.net file?
How many types of cookies are available in asp?
Are xaml file compiled or built on runtime?
What are the Types of state management techniques
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?
Which authentication uses a combination of windows and iis authentication?
Describe the sequence of action takes place on the server when ASP.NET application starts first time?
How to set the pane area to transparent of a scrollPane component.?
How to implement globalization and localization in the use interface in .net.
How do you store a value in viewstate and retrieve them?
What is s2s tracking?
Just by seeing the signature of the bean how can you specify whether it is a stateful or stateless session bean?
what is loosely coupled solution? How it can be used?
Which library is used by the testers and developers to develop automated tests and create testing tools?