Jump to content


Photo

storing sessions in database?


  • Please log in to reply
1 reply to this topic

#1 newb

newb
  • Members
  • PipPipPip
  • Advanced Member
  • 454 posts

Posted 22 September 2006 - 10:16 PM

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.

#2 Seraph

Seraph
  • Members
  • PipPip
  • Member
  • 11 posts

Posted 22 September 2006 - 10:33 PM

go to www.phpclasses.org
Signup and go to
http://www.phpclasse...ackage/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.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users