yuanqiao 发表于 2017-4-12 10:19:14

关于 "PHP 的 COOKIE 的 怪 问 题" 的一点资料

  在 PHP 的手册里, 有这段话, 至于为什么这样, 还是没说 :(
  Cookies will not become visible until the next loading of a page that the cookie should be visible for.

To test if a cookie was successfully set, check for the cookie on a next loading page before the cookie expires.

Expire time is set via the expire parameter.
  ------------------------------------------------------------------------------
页: [1]
查看完整版本: 关于 "PHP 的 COOKIE 的 怪 问 题" 的一点资料