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


Please Help Members By Posting Answers For Below Questions

Is post back in asp.net?

518


How can u debug your .net application?

585


What is asp according to you?

530


What is difference between view and partial view?

508


What are the differences between the response.write() and response.output.write()?

535






What is the difference between the get method () and post method ()?

520


What is the difference between a candidate key and primary key?

521


How would you get asp.net running in apache web servers? Explain it's limitations.

531


Can the dictionary object be created in client?s scope ?

1990


Which Is Faster MVC or ASP.net ?

585


Define cookie.

568


How to add DateTime Control in normal DataGrid Server Control?

584


What is an example of an application service provider?

453


What is view state management in asp net?

463


Define page output caching?

576