The birth of a cookie
Because the HTTP protocol is stateless, the server-side business must be stateful. The original purpose of cookies was to store state information in the Web to facilitate server-side use. For example, to determine whether the
Cookies are the most commonly used feature of developers, and this article describes some of the cookie chrome plugins that are commonly used in the chrome store, with a total of 12 chrome cookie plugins that make a collection for developers to
Take a good look at cookies (strongly recommended) and learn about cookies
Cookie Creation
Because HTTP is stateless, services on the server must be stateful. The initial purpose of Cookie creation is to store the status information on the web for
Cookies are used by the server to distinguish between different browser clients, such as students A and b at the same time with their own computer access to the school's educational system to see the results, after logging in, access to the same
Js uses cookies to refresh the unchanged tree menu and cookie tree
You can set the cookie to save the status of the tree menu and re-read the cookie when loading the page to set the menu.
The HTML structure of the menu:
Level 1 menu Level 1
Read Catalogue
How to use Google search most easily?
Chrome Utility Plugin:
The Chrome debugging tool describes:
Quickly switch files
Searching in the source code
Quickly jump to a specified line in the source code
Saving the user's login status is a lot of Web sites will use, generally use session, database or cookies and sessions of the combination of methods, here we understand the cookie method to save the user login status.
Cookies are a way for servers
The main thing about writing a chrome plugin is to write JS, we want to construct the interface (HTML), the style (CSS), and the JSAPI that Chrome gives us, mainly the Chrome API. , debugging can be directly debugged using Chrome's developer Tool (F1
I just got in touch with PHP for less than 3 months, and I got a noob ..... the trial website uses SESSION to keep SESSION calls. without closing the browser, I manually delete all cookie files on the client and refresh the website, found that the
menu highlighting is a common design approach for each Web page, which effectively lets users know where they are currently in the column
This is the way I often use, the general Web page has at least two level menu, the first is the top of the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.