SESSIONS-IN-DATABASE SUPPORT

Support for a new configuration variable called $CFG->dbsessions
which enables sessions via database.  Based on code from Jason Cole's
team - thanks!
This commit is contained in:
moodler
2004-09-30 06:02:39 +00:00
parent 855c11a67b
commit 42b90599be
7 changed files with 77 additions and 19 deletions
+8
View File
@@ -172,6 +172,14 @@ CREATE TABLE prefix_scale (
timemodified integer NOT NULL default '0'
);
CREATE TABLE prefix_sessions (
sesskey char(32) PRIMARY KEY,
expiry integer NOT null,
expireref varchar(64),
data text NOT null
);
CREATE INDEX prefix_sessions_expiry_idx ON prefix_sessions (expiry);
CREATE TABLE prefix_cache_filters (
id SERIAL PRIMARY KEY,