Home > Backend Development > PHP Tutorial > 有关cookie原理有关问题

有关cookie原理有关问题

WBOY
Release: 2016-06-13 13:42:02
Original
949 people have browsed it

有关cookie原理问题.
本地测试存储cookie:

C# code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->TestCookiemy+cookie+valuelocalhost/demo/15368473218563021288913811835230212688*
Copy after login

百度存储cookie:
C# code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->BAIDUID7D3D84A0431C18A462EB67B3CCF5EDE7:FG=1baidu.com/102457602214432416861354440835230212688*
Copy after login


问题:
.cookie存储的格式是否可以自定义?或者百度并未用自带的cookie函数,而是直接将内容写入文本?
.cookie时间是经过他自定的加密格式吗?加密过后形成了最后那一串数字?
.cookie文件名是否可以自定义?


求各位大大们予以解惑.感激不尽!

------解决方案--------------------
cookie文件的格式不知道谁定的。
cookie的值可以根据需要加密一下。这样只有官方才能知道具体含义。
------解决方案--------------------
是发错地方了,你应该发到 javascript 版面去

要知道 cookie 的格式是如何定义的
请搜索 cookie格式
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template