CodeCanyon PHP Database Session Class 111784

CodeCanyon PHP Database Session Class 111784

CodeCanyon PHP Database Session Class 111784
PHP Script \ Miscellaneous
Session \ User \ Secure \ Database \ Mysql \ Class



PHP Script - PHP Database Session Class 111784 by benphelps @ CodeCanyon

PHP Script \ Miscellaneous

Last Update: 6 July 10; Compatible Browsers: IE6, IE7, IE8, FireFox 2, FireFox 3, Opera, Chrome 4, Chrome 5; Software Version: PHP 4.x, PHP 5.x, MySQL 4.x, MySQL 5.x; Files Included: PHP, SQL.

Create user sessions with this easy to use class.

Each session is stored in a database and is locked to the current browser and ip address.

- Create Sessions

- Destroy Sessions

- Create Session Variables

- Access Session Variables

- Delete Session Variables

- View session data array

Example

// Include the class
require('session.php');
// setup database array
$config = array(
'host' => 'localhost',
'user' => 'root',
'pass' => 'root',
'db' => 'session'
);
// create a new class instance
$sess = new Session($config);
// create a new session
$sess->create();
// set a session value
$sess->set('key', 'value');
// and another
$sess->set('email', [email protected]');
// pull a session value
$email = $sess->get('email');
// delete a session value
$sess->drop('email');
// pull a raw session array
$session_array = $sess->raw();
// check if a session is active
$acheck1 = $sess->active();
// Save session info to a variable
$session_info = $sess->raw();
// destroy the session
$sess->destroy();

PHP Text Image Class; LastStream - Last.fm Radio API Class; PHP Database Session Class; PHP Key Generation and Authentication Class.

Keywords: class, database, mysql, php, secure, session, user.



Tags: Session, Class, Database, Secure, Mysql

Premium CodeCanyon PHP Database Session Class 111784 WordPress Themes, Website Templates, Mobile Themes, Flash Templates & Scripts from creative professional designers. Full details of CodeCanyon PHP Database Session Class 111784 for digital design and education. CodeCanyon PHP Database Session Class 111784 desigen style information or anything related.

Comments:

Name:*
E-Mail:*
Add Comments:
Enter Code: *