如何通过 fancyupload 传递会话
这个问题可能已经存在,但它的回答非常普遍,如果有人确切地告诉我如何传递会话变量并检索它们,我将不胜感激。
我已经在 swiffuploader 选项中设置了appendCookieData: true。如何传递会话变量?
谢谢。
This question might have been there, but it's answered really generally, I'd appreciate if somebody tell me exactly how to pass the session variables and retrieve them.
I already set appendCookieData: true in swiffuploader options. How do I pass the session variables?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
fancyupload 将根据会话 cookie 设置
$_POST['PHPSESSID']
。假设你的服务器端有php
确保接收文件的脚本启动会话,如下所示:
fancyupload will set
$_POST['PHPSESSID']
based on the session cookie.Assuming that you have php on the server side
make sure that the script that receives the the files starts the session like: