在 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.
------------------------------------------------------------------------------
本文地址:http://com.8s8s.com/it/it28045.htm