作者litthe (流苏)
看板PHP
标题Re: [请益] 有关於Session问题
时间Tue Apr 18 01:28:14 2006
※ 引述《taiwancat (月季)》之铭言:
: 我帮appleboy46佐证一下
: 以下资料来自php manual
: register_globals: important note:
: Since PHP 4.2.0, the default value for the PHP directive register_globals is
: off. The PHP community encourages all to not rely on this directive but
: instead use other means, such as the superglobals
: =========
: Caution:
: If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use
: session_register(), session_is_registered(), and session_unregister().
那,想请问一下
如果不能用session_unregister()
这样的话该用哪种方式,或是用什麽函数
可以将已经注册的session取消掉呢?
谢谢:)
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 211.74.94.21