• +91 9723535972
  • info@interviewmaterial.com

ASP Interview Questions and Answers

Question - How can we prevent browser from caching an ASPX page?

Answer -

We can SetNoStore on HttpCachePolicy object exposed by the Response object’s Cache property:

  • Response.Cache.SetNoStore ();
  • Response.Write (DateTime.Now.ToLongTimeString ());

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners