| |
|
How can we prevent a browser to cache an .ASPX page?
Use the SetNoStore() method as follows, in the ASPX page:
<%@ Page Language=”C#” %>
<%
Response.Cache.SetNoStore();
Response.Write (DateTime.Now.ToLongTimeString ());
%>
More Interview Questions...
| |