国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網管 > 服務器 > 正文

阿里云Session

2020-05-27 13:37:21
字體:
來源:轉載
供稿:網友

   系統概要

  session的內容保持在memcache中可以保持服務的可伸縮性并保證較快的訪問速度。

  使用指南

  session相關函數整理

  由于php.ini文件由CE平臺提供,所以相關項的設置函數禁用:

  session_cache_expire — Return current cache expire 返回當前緩存過期

  session_cache_limiter — Get and/or set the current cache limiter 獲取/設置當前緩存限制

  session_get_cookie_params — Get the session cookie parameters 獲取會話cookie參數

  session_set_cookie_params — Set the session cookie parameters 設置會話cookie參數

  由平臺提供的服務,不需用戶操心的函數也禁用:

  session_save_path — Get and/or set the current session save path 獲取/保存 路徑設置當前會話

  session_set_save_handler — Sets user-level session storage functions 設置用戶級別會議存儲功能

  session_module_name — Get and/or set the current session module 獲取/設置 當前會話模塊

  PHP5.3后棄用的函數:

  session_is_registered — Find out whether a global variable is registered in a session 查找是否一個全局變量是在一個會話中注冊

  session_register — Register one or more global variables with the current session 注冊一個或多個全局變量與當前會話

  session_unregister — Unregister a global variable from the current session 從當前會話注銷全局變量

  最終保留的函數:

  session_start — Initialize session data 初始化會話數據

  session_unset — Free all session variables 釋放所有會話變量

  session_destroy — Destroys all data registered to a session 銷毀注冊某個會話的所有數據

  session_write_close — Write session data and end session 寫會話數據和結束會話

  session_commit — Alias of session_write_close 對session_write_close的別名

  session_decode — Decodes session data from a string 從一個字符串解碼會話數據

  session_encode — Encodes the current session data as a string 當前會話數據編碼為一個字符串

  session_id — Get and/or set the current session id 獲取/設置當前會話ID

  session_regenerate_id — Update the current session id with a newly generated one 更新一個新生成的的當前會話ID

  session_name — Get and/or set the current session name 獲取/設置 當前會話的名稱

  更多細節請參考:http://www.php.net/manual/en/ref.session.php

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 永年县| 孙吴县| 台东县| 乡宁县| 营山县| 黄龙县| 肃宁县| 沁源县| 屏东市| 金塔县| 荔波县| 弥勒县| 桐城市| 新源县| 阳西县| 余干县| 娱乐| 安陆市| 盐山县| 桑植县| 德清县| 澄迈县| 观塘区| 汽车| 瓮安县| 金沙县| 黎川县| 福鼎市| 安乡县| 锡林郭勒盟| 西充县| 蓝山县| 嵊州市| 海口市| 苏尼特右旗| 东城区| 饶平县| 西宁市| 舒城县| 贵州省| 登封市|