开发者

can't store cookies after user sends facebook request

I have some strange behavior with a Facebook request

My application allows users to send application requests to their friends.

When I proc开发者_JAVA百科ess the call back I can't seem to read or write any of the session objects I set prior to or after this act.

What does Facebook do to my session objects?


I found it on another post

 $.ajaxSetup({
          beforeSend: function(xhr) {
                                    xhr.setRequestHeader('X-CSRF-Token',
$('meta[name="csrf-token"]').attr('content'));
                                         }
              });
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜