小弟我在一个函数中建立了一个Cookie,可在另一个函数中却不认它
Jun 13, 2016 am 10:06 AM
cookie
我在一个函数中建立了一个Cookie,可在另一个函数中却不认它?
我在a函数中建立了一个Cookie,可在b函数中却不认它,后来,我又在b函数中再建立了一个同名的Cookie,结果查看浏览器发现里边竟有两个同名的Cookie! Cookei不是应该是唯一的吗?怎么会有两个?我的b函数只认它自己创建的Cookie,要怎样才能让它认a函数的?
我用的浏览器是火狐,两个Cookei完全同名,只是创建的路径不同。
------解决方案--------------------
创建的路径不一样就可以存在两个了呗。又不是同一目录下的。
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

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot tools Tags

Hot Article
Repo: How To Revive Teammates
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
How Long Does It Take To Beat Split Fiction?
3 weeks ago
By DDD
R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
1 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago
By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Where are the cookies on your computer?

How to Fix Roblox 403 Forbidden Error on Google Chrome

What are the dangers of cookie leakage?

Detailed explanation of where browser cookies are stored

Does clearing cookies have any impact?
