Multiple choice technology programming languages

Setting the following properties for object in ASP.NET results in Response.Buffer = True Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0)) Response.Expires = 0 Response.CacheControl = "no-cache"

  1. The session expires

  2. Clears the buffer area

  3. Avoid page to be cached

  4. None of the Above

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

These Response properties disable browser caching. Buffer=True buffers output before sending, ExpiresAbsolute sets expiration to a past date, Expires=0 expires immediately, and CacheControl='no-cache' tells the browser not to cache. Together they ensure the page is always fetched fresh from the server.