我的情况是,我只获得了 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/