Jump to content

Archived

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

newb

storing sessions in database?

Recommended Posts

i was wondering how this was done. i know ipb (invisionpowerboard) has this feature for its user system and i wanted to find some way how to have it done with my own system. the thought of an administrator having the power to destroy a user's session at will would be a great addition to the script im working on, and the only way i know of doing that is through storing the sessions in databases. so how would i go about doing this? anyone have any ideas? give me some insight, thanks.

Share this post


Link to post
Share on other sites
go to www.phpclasses.org
Signup and go to
http://www.phpclasses.org/browse/package/402.html
It is a premade gpl session class handler for mysql db
you can use it in your script or just us it as an example.

Share this post


Link to post
Share on other sites

×

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.