php - 使用 id 打开 session

标签 php

我的情况是,我只获得了 session ID,但我想访问该 session 中存在的所有信息。我正在尝试按照我的脚本顶部进行操作

session_id($_POST['SID']);
session_start();

最佳答案

您是否尝试过使用 $_SESSION


来自YUI 3 Uploader使用说明:

Because of limitations of the Flash Player, the Uploader does not transmit session data in the header of the POST requests it sends to the server. In order to transmit the session data, the developer will need to programmatically extract it from the DOM and send as part of the body of the POST request.

你已经这样做了吗?

关于php - 使用 id 打开 session ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6126036/

相关文章:

php - 从 url 中删除 app/webroot

javascript - jquery 自动刷新后 div 弹出窗口不起作用

php - 在 PHP 站点上实现权限数据库结构以限制多个级别的访问

php - 对于下面描述的问题,Solr 是一个很好的解决方案吗?

PHP 嵌套类工作......有点?

php - 根据下拉菜单中选定的选项查看数据库中的数据

php - cURL + Laravel Valet + dnsmasq 不工作

php - 如何使用 join 子句仅检查行是否存在?

php - 如何为控制台命令创建监听器

php - 在 mysqli_fetch_array 中添加依赖于 php IF 语句的 CSS 样式