位置: 编程技术 - 正文
推荐整理分享PHP:session_write_close()的用法_Session函数,希望有所帮助,仅作参考,欢迎阅读内容。
文章相关热门搜索词:,内容如对您有帮助,希望把文章链接给更多的朋友!
(PHP 4 >= 4.0.4, PHP 5)
session_write_close — Write session data and end session
说明 void session_write_close ( void )End the current session and store session data.
Session data is usually stored after your script terminated without the need to call session_write_close(), but as session data is locked to prevent concurrent writes only one script may operate on a session at any time. When using framesets together with sessions you will experience the frames loading one by one due to this locking. You can reduce the time needed to load all the frames by ending the session as soon as all changes to session variables are done.
返回值没有返回值。
参见The session_register_shutdown() - 关闭会话
PHP:session_status()的用法_Session函数 session_status(PHP=5.4.0)session_statusReturnsthecurrentsessionstatus说明intsession_status(void)session_status()isusedtoreturnthecurrentsessionstatus.返回值PHP_SESSION_DISABLEDifsessionsaredisabl
PHP:session_unset()的用法_Session函数 session_unset(PHP4,PHP5)session_unsetFreeallsessionvariables说明voidsession_unset(void)Thesession_unset()functionfreesallsessionvariablescurrentlyregistered.返回值没有返回值。注释Note:If$
PHP:session_unregister()的用法_Session函数 session_unregister(PHP4,PHP.4.0)session_unregisterUnregisteraglobalvariablefromthecurrentsession说明boolsession_unregister(string$name)session_unregister()unregisterstheglobalvariablenamednamefrom
标签: PHP:session_write_close()的用法_Session函数
本文链接地址:https://www.jiuchutong.com/biancheng/279896.html 转载请保留说明!友情链接: 武汉网站建设