V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
iiduce
V2EX  ›  问与答

为啥我在stackoverflow不能提问?( “Sorry, we can't accept this question”)

  •  
  •   iiduce · 2011-05-12 09:10:03 +08:00 · 7236 次点击
    这是一个创建于 4725 天前的主题,其中的信息可能已经有所发展或是发生改变。
    在stackoverflow提交问题,说啥提交不上。提示是:

    Oops! Your question couldn't be submitted because:

    * Sorry, we can't accept this question.


    不知是什么原因。 下面是我的问题:

    my site is www.aaa.com based on django,and i write a jsonp service: www.aaa.com/xxx.jsonp

    I call the jsonp service on www.bbb.com in ie 8, i find request.user.is_authenticated is false but i have logged in www.aaa.com.

    when i do the same thing in firefox, request.user.is_authenticated is true.

    英文不好,是不是句子不通顺,过不了啊。 :(

    顺便,如果有知道我问题答案的说一下啊,查了好久不知道什么原因。
    12 条回复    1970-01-01 08:00:00 +08:00
    shw1395
        1
    shw1395  
       2011-05-12 09:21:12 +08:00
    是不是你举例的网址不符合规范?xxx 之类改掉试试呢。
    iiduce
        2
    iiduce  
    OP
       2011-05-12 09:26:15 +08:00
    谢谢提示,不是 xxx aaa的原因,貌似是不能出现网址。 我把网址全都去掉了就提交成功了。

    my site is based on django,and i write a jsonp service

    I call the jsonp service on the other site in ie 8, i find request.user.is_authenticated is false but i have logged in my site.

    when i do the same thing in firefox, request.user.is_authenticated is true.

    貌似没以前好理解。 英语不好做技术挺吃亏的。
    mr_pppoe
        3
    mr_pppoe  
       2011-05-12 09:45:31 +08:00
    是防止以此做广告吧
    timshi
        4
    timshi  
       2011-05-12 09:55:52 +08:00
    This may be a bit better:

    My site (site A) is based on django,and i wrote a jsonp service. I have another site (site B) that uses this service.

    I am experiencing a problem with this service when visiting site B using ie 8. When I visit site B using ie 8, I found that the request.user.is_authenticated is false, even though I am logged into site A.

    This doesn't appear to be a problem in firefox, which shows request.user.is_authenticated as true.

    最好贴上相关code,不然很难凭空debug.
    joyqi
        5
    joyqi  
       2011-05-12 10:05:07 +08:00
    貌似是因为so对链接数有限制,一般低等级的用户只能包含一个链接
    iiduce
        6
    iiduce  
    OP
       2011-05-12 10:18:54 +08:00
    @timshi
    thx very very much,真羡慕英文好的。 我光会读,写和说的能力差多了。

    得寸进尺下,:) ,能给这个问题起个标题么。

    我现在的: why user always not login when visit django site by jsonp in ie
    timshi
        7
    timshi  
       2011-05-12 10:26:10 +08:00
    我对django不了解,我觉得题目里关键字多一些比较容易得到答案。How about:

    Django jsonp web service inconsistent behavior in internet explore 8 and firefox
    iiduce
        8
    iiduce  
    OP
       2011-05-12 10:27:22 +08:00
    @timshi
    我没有贴code,是因为我觉着这个问题和django、jsonp本身的代码没有太大关系。猜测是因为ie 对jsonp跨域过来的请求都访问不到session和cookie。但是怎么也搜不到相关的文章。
    timshi
        9
    timshi  
       2011-05-12 10:37:39 +08:00
    @iiduce
    有道理,我一开始没有仔细想。你有没有用查 django, cross domain, internet explore 8 session cookie 这些关键字?

    stack overflow 上的第一个结果是 http://stackoverflow.com/questions/1716083/ie8-not-applying-cookies-across-domain-appropriately-only-on-one-machine 不知和你的问题有没有相似处?

    你其实最好把你的推测也写进去:
    I suspect that this is a bug in internet explore 8 bug regarding getting cross domain session cookies. Does any one have similar problem or how did you work around it?

    题目也可以改为:

    Internet explore 8 not getting cross domain django web service session cookie correctly

    不知这样是否好一一点?
    timshi
        11
    timshi  
       2011-05-12 10:57:50 +08:00
    找到答案别忘了告诉我们
    xatest
        12
    xatest  
       2011-05-12 11:54:54 +08:00
    体会过LZ这种心情,第一次在stackoverflow提问也很受挫~
    felinx
        13
    felinx  
       2011-05-13 07:44:01 +08:00
    www.zhimaq.com 吧,中文的,目前的系统是类似于StackOverflow的。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   992 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 19:50 · PVG 03:50 · LAX 12:50 · JFK 15:50
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.