无法识别/通过Safari扩展程序Cookie [英] Safari extension cookies not recognized/passed

查看:141
本文介绍了无法识别/通过Safari扩展程序Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近一直在将Safari扩展程序移植到Safari,并遇到此类错误(错误,功能等)。



有一个XMLHTTP请求到安全页面,只有在您登录后才可用。



示例:


  1. 我只需使用浏览器登录 - 通常在Facebook或其他安全网页上进行登录

  2. 之后,在全局页面中,我将加载一个仅登录的xmlhttp它说我没有登录

似乎全局页面有一些自己的cookie,所以一个安全的页面认为我新的



ps:在Chrome我可以加载该页面,它认为我代表登录用户,所以我想在Safari中有一些限制

pps:我听说Safari中有一个Block第三方Cookie选项,但即使我选中了Never block,它仍然无法工作

解决方案

我有与Safari 5.1.2 Windows版的问题,但升级到当前版本(5.1.7)后问题消失了。也许他们固定在一些中间版本。它也适用于我在Mac OS X Safari 5.1.3上。


I've recently been porting a Chrome extension to Safari, and encountered this kind of error (bug, feature, etc.)

So, in global page i have a XMLHTTP request to a secure page which is available only after you login.

Example:

  1. I simply login using browser - as usually you do on facebook or other secure pages
  2. After that, in global page, I load a login-only-available xmlhttp - and it says i'm not logged in

it seems that global page somewhat has it's own cookies, so a secure page thinks i'm new

ps: in Chrome i can load that page and it thinks i'm acting on behalf of logged in user, so i guess there are some restrictions in Safari

pps: i heard there's a Block third-party cookies option in Safari, but even if i checked it to "Never block" it still doesn't work

解决方案

I had that problem with Safari 5.1.2 for Windows, but after upgrading to the current version (5.1.7) the problem disappeared. Maybe they fixed it on some intermediate version. It is also working for me on a Safari 5.1.3 for Mac OS X.

这篇关于无法识别/通过Safari扩展程序Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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