JSP setup page expired

xiaoxiao2021-03-06  71

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 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. More commonly used: Name properties

1, Tell the search for your author's author;

5,

"All | None | INDEX | NOINDEX | FOLLOW | NOFOLLOW">

The attribute description is as follows:

Set to all: The file will be retrieved, and the link on the page can be queried;

Set to None: The file will not be retrieved, and the link on the page cannot be queried;

Set to INDEX: The 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-Equiv property

1,

And to show the text and language used by the home page; also English is ISO-8859-1 character set, and BIG5, UTF- 8, Shift-JIS, EUC, KOI8-2 and other character sets;

2, Timed on the 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. It should be noted 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 Call out;

5, cookie setting, if the web is expired, the cookie of the store will be deleted. It is also necessary to use the GMT time format;

6, Forced page Displayed in a stand-alone page in the current window, it is possible to prevent its own web page from being used as a frame page;

8, and

Contect = "RevealTrans (duration = 20, Transtion

= 6) "> 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.

转载请注明原文地址:https://www.9cbs.com/read-92094.html

New Post(0)