
#
#   Axis--Session.php
#   SQL Table Creation Code
#
#   Copyright 1999-2001 Axis Data
#   This code is free software that can be used or redistributed under the
#   terms of Version 2 of the GNU General Public License, as published by the
#   Free Software Foundation (http://www.fsf.org).
#
#   Author:  Edward Almasy (almasy@axisdata.com)
#
#   Part of the AxisPHP library v1.2.4
#   For more information see http://www.axisdata.com/AxisPHP/
#


CREATE TABLE IF NOT EXISTS APSessions (
  SessionId         INT NOT NULL,
  LastActiveDate    DATETIME NOT NULL,
  INDEX (SessionId)
);

CREATE TABLE IF NOT EXISTS APSessionData (
  SessionId         INT NOT NULL,
  DataName          TEXT NOT NULL,
  DataValue         TEXT,
  INDEX (SessionId)
);

