从facebook注销时,我的facebook应用程序会话被杀死 [英] my facebook application session kill when logout from facebook

查看:98
本文介绍了从facebook注销时,我的facebook应用程序会话被杀死的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

向所有人致敬,
我最近遇到了一个问题.我有一个Facebook应用程序.在那我使用了一些会话来维护用户信息.问题是,当用户来自facebook并完成工作并从facebook注销时.在此时间内,我的会话未清除.另一个用户来使用Facebook打开我的应用程序,此时将显示以前的用户信息. (相同的浏览器.无法清除Cookie和缓存).请帮我.当用户从Facebook注销时,如何终止我的会话?

在此先感谢.

hai to all,
i faced one problem recently. i have one facebook application. in that i used some sessions for maintain user info. the problem is when the user comes from facebook and do their work and logout from facebook. in taht time my session is not cleared. other user come and open my application with facebook, in that time the previous user info is displayed. (same browser. can''t clear cookie and cache). please help me. how to kill my session when the users logged out from facebook?

thanks in advance.

推荐答案



您可以在下面尝试.

1.如果能够更改FB注销事件,则在注销时单击命中应用程序以清除会话数据.
2.使用session + userId维护应用程序中的用户会话.并执行会话检查

请参阅下面的链接以获取更多帮助.
http://vatlab.com/facebook-logout-button-asp-net [ ^ ]

http://stackoverflow.com/questions/4265844/delete-facebook-session-cookie-from-my-application-on-users-logout [
Hi,

you can try below.

1. On logout click hit your application to clear the session data if you are able to change FB logout event.
2. Maintain users session in you application as well with session+userId. and perform session check

Refer the below link for more help.
http://vatlab.com/facebook-logout-button-asp-net[^]

http://stackoverflow.com/questions/4265844/delete-facebook-session-cookie-from-my-application-on-users-logout[^]


这篇关于从facebook注销时,我的facebook应用程序会话被杀死的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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