找出是否有人在Gmail,雅虎和Facebook登录 [英] Find out if someone is logged in gmail, yahoo and facebook

查看:129
本文介绍了找出是否有人在Gmail,雅虎和Facebook登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个Web应用程序,我要告诉用户,他在登录的Gmail 雅虎的Facebook 帐户。我认为这是可以做到用饼干


如何找到它?

的是这些账户的cookie名称,这样我可以检查他们的presence

I am working on a web application where I have to tell user that he is logged in gmail or yahoo or facebook account. I think this can be done using cookies.
How to find out it?
what is the cookie name of these accounts, so that I can check their presence

推荐答案

的Gmail可以通过在自己的谷歌帐户链接到的公众形象进行测试。 Facebook能够通过加载自己的个人资料,作为脚本进行测试。如果人登录到各自的服务,如果他们没有失败这两个环节会成功。怕我不知道雅虎的具体细节,但我想类似的技术是可行的。

Gmail can be tested by linking to a public image in your own google account. Facebook can be tested by loading your own profile, as a script. Both of these links will succeed if the person is logged into the respective service and fail if they are not. Afraid I don't know specific details for Yahoo but I imagine a similar technique would work.

这是一个很好的文章就设在这里,我相信双方的技术仍然工作:

A good article on this is located here, I believe the techniques both still work:

<一个href=\"https://grepular.com/Abusing_HTTP_Status_$c$cs_to_Expose_Private_Information\">https://grepular.com/Abusing_HTTP_Status_$c$cs_to_Expose_Private_Information

这篇关于找出是否有人在Gmail,雅虎和Facebook登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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