PHP Sessions Management Class 1.0.3
Sponsored Links
PHP Sessions Management Class 1.0.3 Ranking & Summary
File size:
0.020 MB
Platform:
Any Platform
License:
Free for non-commercial use
Price:
Downloads:
1046
Date added:
2006-12-16
Publisher:
Stefan Gabos
PHP Sessions Management Class 1.0.3 description
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 manual
If 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 application
Before 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 class
You dont 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.
Enhancements:
- The get_users_online() method is now more accurate as it now runs the garbage collector before getting the number of online users.
- The structure of the MySQL table used by the class was tweaked in so that the "http_user_agent" field was changed from VARCHAR(255) to TEXT to accomodate user agent strings that are longer than 255 characters.
- The "session_data" field was also changed from TEXT to BLOB to help users who store a large amount of data in sessions.
If you are not familiar with what php sessions are and what are they good for, check out the dedicated chapter in the php manual
If 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 application
Before 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 class
You dont 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.
Enhancements:
- The get_users_online() method is now more accurate as it now runs the garbage collector before getting the number of online users.
- The structure of the MySQL table used by the class was tweaked in so that the "http_user_agent" field was changed from VARCHAR(255) to TEXT to accomodate user agent strings that are longer than 255 characters.
- The "session_data" field was also changed from TEXT to BLOB to help users who store a large amount of data in sessions.
PHP Sessions Management Class 1.0.3 Screenshot
Advertisements
PHP Sessions Management Class 1.0.3 Keywords
PHP
PHP Sessions Management Class 1.0.3
PHP Sessions Management Class
PHP Sessions
management class
PHP Class
MySQL Database
to handle
by using
sessions
class
management
database
MySQL
session
PHP Sessions Management Class 1.0.3
Bookmark PHP Sessions Management Class 1.0.3
PHP Sessions Management Class 1.0.3 Copyright
WareSeeker periodically updates pricing and software information of PHP Sessions Management Class 1.0.3 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of PHP Sessions Management Class 1.0.3 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
classroom management
aol sessions
sessions clock company
mysql database creating
anger management classes
sessions at aol
jeff sessions
management classes
sessions jackets
sessions @ aol
lamson sessions
ramon sessions
sessions clocks
management classmates
sessions clothing
project management classes
management classical theory
sessions 1926 clock key
Version History
Related Software
PHP MySQL Database Layer Class is a php class providing some very useful methods to work with a mySQL database. Free Download
SMK PHP Authentication Class package can be used to authenticate users against a MySQL database of user records. Free Download
PHP mySQL Database Wrapper Class provides a set of methods for interacting with a MySQL database easily and securely. Free Download
PHP::Session is a Perl module to read / write PHP session files. Free Download
PHP::Session::DB is a Perl module to read / write PHP sessions stored in data bases. Free Download
Php-residence is an open source program designed to manage daily or weekly rental of house apartments or hotel rooms. It uses a PostgreSQL or MySQL database on backend. Reservations can be assigned to an apartment automatically with user defined rules. Templates of forms to check availability for internet sites can be created. Multi-user with privileges system. Free Download
Persistent::MySQL is a persistent class implemented using a MySQL database. Free Download
phpMysqlConnection provides a PHP class for handling MySQL database connections. Free Download
Latest Software
Popular Software
Favourite Software