Re: [請益] 有關於Session問題

看板PHP作者 (流蘇)時間19年前 (2006/04/18 01:27), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/5 (看更多)
※ 引述《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
文章代碼(AID): #14Gy_rV2 (PHP)
討論串 (同標題文章)
文章代碼(AID): #14Gy_rV2 (PHP)