你能帮我找到 PHP 会话文件吗? [英] Can you help me locate PHP session files?

查看:32
本文介绍了你能帮我找到 PHP 会话文件吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 windows 系统上有一个默认配置的 xampp (LAMP),我一直在谷歌搜索和阅读 stackflow 一个小时,但我找不到 php 会话数据的保存位置,我想找到一个会话文件并查看

I have a default configuration of xampp (LAMP) on a windows system, I have been googleing and reading stackflow for an hour but I can not find where php session data is saved, I would like to locate a session file and look at it.

有些网站说 windows 通常将它存储在这里 C:\windows\tmp\ 但我无法在那里或其他任何地方找到它.

Some sites say windows usually stores it here C:\windows\tmp\ but I was unable to find it there or anywhere else.

  1. 你知道会话保存在哪里吗?默认情况下?f
  2. 你知道什么样的名字和文件吗?他们可能会有的扩展?

推荐答案

session_save_path() - 它们没有扩展名,它们是长字符串 UID 命名的文件.

session_save_path() - they have no extension, they are long string UID named files.

这篇关于你能帮我找到 PHP 会话文件吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆