Login   Register  
PHP Classes
elePHPant
Icontem

File: session.sql

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of RS  >  Jack's Session class  >  session.sql  >  Download  
File: session.sql
Role: Auxiliary data
Content type: text/plain
Description: session class database structure
Class: Jack's Session class
Manage user access sessions stored in a database
Author: By
Last change:
Date: 8 years ago
Size: 319 bytes
 

Contents

Class file image Download
CREATE TABLE sessions
(
	s_id			VARCHAR(20) NOT NULL PRIMARY KEY,
	s_lastact		INT(11) NOT NULL DEFAULT '0',
	s_ip			VARCHAR(20),
) TYPE=MyISAM;

CREATE TABLE sessvalues
(
	s_id			VARCHAR(255) NOT NULL,
	sv_id			INT(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
	sv_name			VARCHAR(255),
	sv_value		VARCHAR(255)
) TYPE=MyISAM;