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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.