duanmu6231 2010-11-27 10:08
浏览 53

jquery uploadify和codeigniter会话ID问题

I know this is famous question but i am not able to make it work refering to those links :-

The problem is the same. No session id is being passed which causes a lot of problems.

This is my config.php :-

$config['sess_cookie_name']     = 'ci_session';
$config['sess_expiration']      = 2700;
$config['sess_encrypt_cookie']  = FALSE;
$config['sess_use_database']    = FALSE;
$config['sess_table_name']      = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update']  = 300;

As you can see i have already set sess_match_useragent to false but still my session ids are getting changed. Can anybody tell me how do i pass my session ids in scriptData? Because Codeigniter doesn't use querystring approach instead it builds up pretty urls.

Thanks in advance :)

  • 写回答

1条回答 默认 最新

  • dongtan5555 2010-11-27 18:19
    关注

    uploadify, which is similar to SWFUpload, does not send cookie when uploading files. This is because of Adobe Flash.

    You need to looking for some workaround, e.g. send sessoin id in post data with the file; or redesign the work flow of your web app.

    评论

报告相同问题?

悬赏问题

  • ¥15 Vue3 大型图片数据拖动排序
  • ¥15 划分vlan后不通了
  • ¥15 GDI处理通道视频时总是带有白色锯齿
  • ¥20 用雷电模拟器安装百达屋apk一直闪退
  • ¥15 算能科技20240506咨询(拒绝大模型回答)
  • ¥15 自适应 AR 模型 参数估计Matlab程序
  • ¥100 角动量包络面如何用MATLAB绘制
  • ¥15 merge函数占用内存过大
  • ¥15 使用EMD去噪处理RML2016数据集时候的原理
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大