How to find the save location of session in php

(*-*)浩
Release: 2023-02-23 16:34:01
Original
7580 people have browsed it

Introducing the storage location of session in php.

How to find the save location of session in php

Open session. Use session_start ()(recommended learning:PHP video tutorial)

How to find the save location of session in php

View the session id, echo session_id();

How to find the save location of session in php

View the local effect. The result of echo is the session id

How to find the save location of session in phpView the directory where the session is saved. Find the php.ini file

How to find the save location of session in phpLook for session.save_path in the php.ini file to get the location of the folder where the session is located.

How to find the save location of session in php

Recommended related articles:The most comprehensive collection of js interview questions in 2020 (latest)

The above is the detailed content of How to find the save location of session in php. For more information, please follow other related articles on the PHP Chinese website!

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!