用户在线/离线状态问题 [英] Problem of user online/ offline status

查看:77
本文介绍了用户在线/离线状态问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何检查该用户是在线还是离线状态如果

他在< body onunload>的帮助下关闭了他的浏览器。因为它无法工作

如果是用户更改他的页面,那时它太过火了。我想

只有在用户关闭浏览器时触发功能。

I want to know how to check that user is online or offline status if
he close his browser with the help of <body onunload>.As it not work
well if is user change his page as that time it is too fired.I want
only to fire function if user closed browser.

推荐答案



" Php Developer" < ph *************** @ gmail.com写信息

新闻:6f *************** ******************* @ s8g2000p rg.googlegroups.com ...

"Php Developer" <ph***************@gmail.comwrote in message
news:6f**********************************@s8g2000p rg.googlegroups.com...

>我想要知道如何检查用户是在线还是离线状态如果

他在< body onunload>的帮助下关闭了他的浏览器。因为它不起作用

如果是用户改变他的页面,因为它太过火了。我想

只有在用户关闭浏览器时才能触发功能。
>I want to know how to check that user is online or offline status if
he close his browser with the help of <body onunload>.As it not work
well if is user change his page as that time it is too fired.I want
only to fire function if user closed browser.



呃,什么?谷歌石斑鱼,数字。


在任何情况下,你都无法可靠地知道观众什么时候停止。看着你的

页面。 onunload不起作用 - 如果他们只是拔掉他们的

计算机上的插头或者徘徊到酒吧怎么办?


经常被问到这个问题。谷歌。


-

理查德。

Er, what? Google grouper, figures.

In any case you can not reliably know when a viewer "stops" looking at your
page. onunload does not work - what if they simply pull the plug on their
computer or wander off down to the pub?

This is asked frequently. Google.

--
Richard.




如果可能的话,我需要一些帮助才能使它工作。

谢谢
Hi,
What i need some help to make it work if possible any ways pls tell
Thanks

I想要知道如何检查该用户是在线还是离线状态如果

他在< body onunload>的帮助下关闭了他的浏览器。因为它不起作用

如果是用户更改他的页面,因为它太过火了。我想

只有在用户关闭浏览器时触发功能。
I want to know how to check that user is online or offline status if
he close his browser with the help of <body onunload>.As it not work
well if is user change his page as that time it is too fired.I want
only to fire function if user closed browser.


文章< 80 ********************** ************ @ s12g2000prg。 googlegroups.com>,Php开发人员< ph *************** @ gmail.comwrote:
In article <80**********************************@s12g2000prg. googlegroups.com>, Php Developer <ph***************@gmail.comwrote:

>
我需要一些帮助才能让它工作如果可能的话任何方式请告诉
>Hi,
What i need some help to make it work if possible any ways pls tell



当观众停止观看时你无法可靠地知道什么部分在你的

页面''你不明白吗?

What part of ''you can not reliably know when a viewer stops looking at your
page'' did you not understand?


谢谢
Thanks

>我想知道如何检查该用户是在线还是离线状态如果

他在< body onunload>的帮助下关闭了他的浏览器。作为它不工作

如果是用户更改他的页面,那时它太过火了。我想

只有在用户关闭浏览器时触发功能。
>I want to know how to check that user is online or offline status if
he close his browser with the help of <body onunload>.As it not work
well if is user change his page as that time it is too fired.I want
only to fire function if user closed browser.


这篇关于用户在线/离线状态问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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