Jump to content

Access other sessions?


yungbloodreborn

Recommended Posts

Hey,

  I have been working with sessions for a while now. Although I don't understand everything about them, they are protecting my site quite nicely. The question I have is can I access information about other active sessions, and can I kill sessions other than mine from php? I am working on building my admin pages so that me & other admins of my site have greater control than ordinary members.

-YungBlood

Link to comment
https://forums.phpfreaks.com/topic/88420-access-other-sessions/
Share on other sites

You'll want to look into storing your session data within a database instead of the default flat file system that php uses.

 

Do a google for php custom session handler and you should get a few hits.

 

Once your session data is being stored within a database it is quite easy to query that database for all sorts of information as well as delete records (kill active sessions).

Link to comment
https://forums.phpfreaks.com/topic/88420-access-other-sessions/#findComment-452523
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.