java 有像php中session一样,在php中有没有类似session功能的函数

session_cache_expire -- Return current cache expire

session_cache_limiter -- Get and/or set the current cache limiter

session_commit -- 别名 session_write_close()

session_decode -- Decodes session data from a string

session_destroy -- Destroys all data registered to a session

session_encode -- 将当前会话数据编码为一个字符串

session_get_cookie_params -- Get the session cookie parameters

session_id -- Get and/or set the current session id

session_is_registered -- Find out whether a global variable is registered in a session

session_module_name -- Get and/or set the current session module

session_name -- Get and/or set the current session name

session_regenerate_id -- Update the current session id with a newly generated one

session_register -- Register one or more global variables with the current session

session_save_path -- Get and/or set the current session save path

session_set_cookie_params -- Set the session cookie parameters

session_set_save_handler -- Sets user-level session storage functions

session_start -- Initialize session data

session_unregister -- Unregister a global variable from the current session

session_unset -- Free all session variables

session_write_close -- Write session data and end session

选至PHP手册。

全部

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值