Re: [請益] 有關於Session問題
※ 引述《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
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章