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"
-
The session expires
-
Clears the buffer area
-
Avoid page to be cached
-
None of the Above
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.