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 is Forms Authentication in ASP.NET?
What is the significance of ASP.NET routing?
What are the different kinds of assemblies?
Explain the different types of directives in .net?
What are the various ways to send content from one page to another?
What is event in asp.net?
Define repository pattern in mvc.net? : asp.net mvc
What is asp net application object?
What are Authentication and Authorization?
What are assemblies and namespaces and explain the difference between them ?
In which event are the controls fully loaded?
What are the ways to show data grid inside a data grid for a master details type of tables? If we write any code for DataGrid methods, what is the access specifier used for that methods in the code behind file and why?
Explain the difference between Repeater and Data list control in ASP.NET?
What can we do with asp.net?
What is asp.net used for?