PHP Sessions Management Class

PHP Sessions Management Class is a php class to handle sessions by using a mySQL database.
Download

PHP Sessions Management Class Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Free for non
  • Price:
  • FREE
  • Publisher Name:
  • Stefan Gabos
  • Publisher web site:
  • http://stefangabos.blogspot.com/2008/04/zebra-php-component-framework-php.htmlThis is a little helper PHP class that will let you create and manage your breadcrumbs. Everything is very simple (as it always is when using Object Oriented Programing - uh-oh)

PHP Sessions Management Class Tags


PHP Sessions Management Class Description

PHP Sessions Management Class is a php class to handle sessions by using a mySQL database. PHP Sessions Management Class is a php class to handle sessions by using a mySQL database for session related data storage providing better security then the default session handler used by PHP.If you are not familiar with what php sessions are and what are they good for, check out the dedicated chapter in the php manualIf you are familiar with php sessions and you want to use this php class in your projects then remember that to prevent session hijacking, you must not forget to use the regenerate_id() method whenever you do a privilege change in your applicationBefore usage, make sure you use the session_data.sql file (which is a sql dump file generated with phpMyAdmin) from the install_sql folder to set up the table used by the classYou don't need to modify anything in your previous applications: after instantiating the php class, just use sessions as you would normally.Note:The class assumes that there is an active connection to a mySQL database and it does not attempt to create one. This is due to the fact that, usually, there is a config file that holds the database connection related information and another class, or function that handles database connection. If this is not how you do it, you can easily adapt the code by putting the database connection related code in the "open" method of the class.What's New in This Release:· 'LIMIT 1' has been added to the read() method, increasing the performance of the script.


PHP Sessions Management Class Related Software