Session的很多函式可以幫助網頁設計得更好:) 嘿嘿嘿~
常用的 Session 函式庫
- session_start:啟用一個新的或開啟正在使用中的session。
- session_destroy:清除正在使用中的 session。
- session_name:取得正在使用中的名稱或將名稱更新為新的名稱。
- session_module_name:取得或更新正在使用中的模組。
- session_save_path:存取目前使用中的 session 路徑。
- session_id:存取目前使用中的 id。
- session_register:註冊一組新的 session。
- session_unregister:刪除一個正在使用中的 session。
- session_is_registered:檢查目前使用中是否已經有此變數。
- session_decode:資料解碼,解碼成功回傳 true。
- session_encode:資料編碼,編碼成功回傳 true。
來源網址:http://www.webtech.tw/info.php?tid=33
沒有留言:
張貼留言