Home >Backend Development >PHP Tutorial >Session data is stored in the database. I want to manually decode session_data, but session_decode must open the session. Is there a similar function?

Session data is stored in the database. I want to manually decode session_data, but session_decode must open the session. Is there a similar function?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-09-11 11:34:131013browse

I stored the session data in the database and want to manually decode session_data, but session_decode must open the session. Is there a similar function?

Reply content:

I stored the session data in the database and want to manually decode session_data, but session_decode must open the session. Is there a similar function?

Someone in the manual provides relevant methods. Related functions can also be customized.
http://php.net/manual/zh/func...

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn