位置: 编程技术 - 正文

PHP:session_write_close()的用法_Session函数

编辑:rootadmin
session_write_close

推荐整理分享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 ) PHP:session_write_close()的用法_Session函数

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

本文链接地址:https://www.jiuchutong.com/biancheng/279896.html 转载请保留说明!

上一篇:PHP:session_start()的用法_Session函数

下一篇:PHP:session_status()的用法_Session函数

免责声明:网站部分图片文字素材来源于网络,如有侵权,请及时告知,我们会第一时间删除,谢谢! 邮箱:opceo@qq.com

鄂ICP备2023003026号

网站地图: 企业信息 工商信息 财税知识 网络常识 编程技术

友情链接: 武汉网站建设 电脑维修 湖南楚通运网络