Home > Backend Development > PHP Tutorial > 已经sessionID怎么删除对应的这个session文件

已经sessionID怎么删除对应的这个session文件

WBOY
Release: 2016-06-13 13:38:14
Original
1564 people have browsed it

已经sessionID如何删除对应的这个session文件
如题如题。。。

------解决方案--------------------

PHP code

echo session_save_path();//这个就是session文件存储目录,接下来怎么做你懂得,默认sesison文件名应该是'sess_[session id值]'。 <div class="clear">
                 
              
              
        
            </div>
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template