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

2011-05-12 09:10:03 +08:00
 iiduce
在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.

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

顺便,如果有知道我问题答案的说一下啊,查了好久不知道什么原因。
7247 次点击
所在节点    问与答
12 条回复
shw1395
2011-05-12 09:21:12 +08:00
是不是你举例的网址不符合规范?xxx 之类改掉试试呢。
iiduce
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
2011-05-12 09:45:31 +08:00
是防止以此做广告吧
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
2011-05-12 10:05:07 +08:00
貌似是因为so对链接数有限制,一般低等级的用户只能包含一个链接
iiduce
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
2011-05-12 10:26:10 +08:00
我对django不了解,我觉得题目里关键字多一些比较容易得到答案。How about:

Django jsonp web service inconsistent behavior in internet explore 8 and firefox
iiduce
2011-05-12 10:27:22 +08:00
@timshi
我没有贴code,是因为我觉着这个问题和django、jsonp本身的代码没有太大关系。猜测是因为ie 对jsonp跨域过来的请求都访问不到session和cookie。但是怎么也搜不到相关的文章。
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

不知这样是否好一一点?
iiduce
2011-05-12 10:50:21 +08:00
timshi
2011-05-12 10:57:50 +08:00
找到答案别忘了告诉我们
xatest
2011-05-12 11:54:54 +08:00
体会过LZ这种心情,第一次在stackoverflow提问也很受挫~
felinx
2011-05-13 07:44:01 +08:00
www.zhimaq.com 吧,中文的,目前的系统是类似于StackOverflow的。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/12926

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX