是否有可能使用php查看活动会话? [英] Is it possible to see active sessions using php?
本文介绍了是否有可能使用php查看活动会话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个php应用程序.是否可以在服务器上获取活动会话和会话值? 并且有可能结束特定的会话吗?
I am developing a php application. Is it possible to get active sessions and session values on my server? And is it possible to end up a particular session?
推荐答案
如果您希望会话具有最大的灵活性,可以将所有会话保存在数据库中.然后,很容易获得会话数,任何会话的内容,将其杀死等等...
If you want maximum flexibility with sessions you can save all your sessions in a database. Then it is very easy to get number of sessions, content of any session, kill them, etc...
http://shiflett.org/articles/storing-sessions-in-一个数据库
作为奖励,您将提高安全性!
As a bonus you will increase the security!
这篇关于是否有可能使用php查看活动会话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文