Server: <% response.sethead ("prgma", "no-cache"); response.setheader ("cache-control", "no-cache"); response.setdateHeader ("expires", -10); %> You can pay attention to the login page and the login page, you can pay attention to the login page (or the page of the similar function) Client method: META is used to simulate the HTTP protocol response in the HTML document Head message. Meta labels are used for the
and head> of the web page, many of the Meta labels. There are two properties of Meta: Name and Http-Equiv. The Name property is primarily used to describe the web page, corresponding to Content (web content), to search for engine robots to find, classification (currently almost all search engines) use online robots to automatically find meta values to web page categories). This is the most important thing about Description (Site on search engine) and keywords, so you should add a meta value per page. Compared to the following: Name attribute 1, , such as Microsoft FrontPage 4.0), etc.; > Describe your page keywords to the search engine; 3, Tell the authors of your site for your site; 5, Where the properties are as follows: set to all: The file will be retrieved, and the link on the page can be queried; set to none: File will not be retrieved, and the link on the page cannot be queried; set to index: file will be retrieved; set to FOLLOW: The link on the page can be queried; set to NoIndex: The file will not be retrieved, but the link on the page can be queried; set to NOFOLLOW: File will not be retrieved, the link on the page can be queried.HTTP-Equivi Attribute 1, and Using the text and language used by the home page; another English is the ISO-8859-1 character set, as well as BIG5, UTF-8, Shift-Jis, EUC, KOI8-2 and other character sets; 2, < Meta http-equiv = "refresh" contect = "n; url = http: // YourLink"> Time to let the web page in the specified time n, jump to the page http; // YourLink; 3, You can use the expiration time of the web page, once expired, you must reuse on the server. Need to note that the GMT time format must be used; 4, is used to set the ban from the page content from the local machine's cache, once the settings are not available from Cache Press; 5, cookie settings, if the web is expired, the cookie of the store will be deleted. Need to pay attention It is also necessary to use GMT time format; 6, Forced page display in a stand-alone page in the current window to prevent its own web page from being used by others Make a frame page; 8, Set the special effects when entering and leaving the page, this function is "Format / Web Transition" in FrontPage, but the added page cannot be an Frame page. -----------------------------------------------
Response.setHeader ("Pragma", "NO-Cache");
Response.setheader ("Cache-Control", "No-cache"); Response.SetDateHeader ("Expires", 0);
-------------------------------------------------- -------------
This is added:
-------------------------------------------------- -------------
It is recommended to delete the file under Tomcat / Work.
Restart the server!