如何获得具有套接字的PHP服务器客户端的列表
我使用灯,想获得连接到服务器的客户列表。
我有一个面板,必须处理用户会话和活动用户。 一些用户可以登录多浏览器,有些用户可以登录,但具有限制号。 面板管理员必须查看客户端,IP和浏览器的列表,以及通过决策管理终止用户的会话。 如果用户关闭浏览器或选项卡,请立即从列表中删除。
我该如何使用PHP插座?我没有PHP插座的基本知识,我使用cookie进行身份验证。
I use LAMP and I want to get list of clients connected to the server.
I have a panel and users session and active users must be handled.
Some users can login in multi browsers and some users can login but with limit number.
Admin of panel must see list of clients and the IP and browsers and by decision admin terminate session of user.
If user close browser or tab, remove from list instant.
How can I do that with PHP socket? I don't have basic knowledge of PHP socket, I use cookie for authentication.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论