JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
API CHANGE: new DB structure for sessions
[wfpl.git] / examples / session.sql
index aa44c5a..3771c9a 100644 (file)
@@ -2,12 +2,8 @@ drop table if exists wfpl_sessions;
 create table wfpl_sessions (
        id int unique auto_increment,
        session_key varchar(16),
-       length int,
-       expires int);
-
-drop table if exists wfpl_session_data;
-create table wfpl_session_data (
-       id int unique auto_increment,
-       session_id int,
-       name varchar(100),
-       value text);
+       idle_timeout int,
+       expires int,
+       expires_max int,
+       value text
+) CHARSET=utf8;