From fc9e97f6cab72de473288470c0681534caf25ea5 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 8 Feb 2005 20:22:46 +0000 Subject: make self-service session cache module configurable, start framework for in-database session cache --- httemplate/docs/install.html | 2 +- httemplate/docs/schema.html | 15 ++++++++++++++- httemplate/docs/upgrade10.html | 19 ++++++++++++++++++- 3 files changed, 33 insertions(+), 3 deletions(-) (limited to 'httemplate/docs') diff --git a/httemplate/docs/install.html b/httemplate/docs/install.html index a880d9104..51c700bf8 100644 --- a/httemplate/docs/install.html +++ b/httemplate/docs/install.html @@ -54,7 +54,7 @@ Before installing, you need:
  • Time-Duration
  • HTML-Widgets-SelectLayers
  • Storable - +
  • Cache::Cache
  • NetAddr-IP
  • Chart
  • Crypt::PasswdMD5 diff --git a/httemplate/docs/schema.html b/httemplate/docs/schema.html index 8af8aa9df..63c795375 100644 --- a/httemplate/docs/schema.html +++ b/httemplate/docs/schema.html @@ -487,7 +487,7 @@
  • rate_prefix - Call rate prefix +
  • clientapi_session - ClientAPI session store + +
  • clientapi_session_field - Client API session store data + diff --git a/httemplate/docs/upgrade10.html b/httemplate/docs/upgrade10.html index 7441cf1cc..977755b90 100644 --- a/httemplate/docs/upgrade10.html +++ b/httemplate/docs/upgrade10.html @@ -8,7 +8,7 @@ install Net::SSH 0.08 - In httpd.conf, change <Files ~ \.cgi> to <Files ~ (\.cgi|\.html)> - In httpd.conf, change AddHandler perl-script .cgi or SetHandler perl-script to AddHandler perl-script .cgi .html -install NetAddr::IP, Chart::Base, IPC::ShareLite, Locale::SubCountry, +install NetAddr::IP, Chart::Base, Locale::SubCountry, JavaScript::RPC (JavaScript::RPC::Server::CGI) INSERT INTO msgcat ( msgnum, msgcode, locale, msg ) VALUES ( 20, 'svc_external-id', 'en_US', 'External ID' ); @@ -240,6 +240,23 @@ CREATE TABLE reg_code_pkg ( CREATE UNIQUE INDEX reg_code_pkg1 ON reg_code_pkg ( codenum, pkgpart ); CREATE INDEX reg_code_pkg2 ON reg_code_pkg ( codenum ); +CREATE TABLE clientapi_session ( + sessionnum serial NOT NULL, + sessionid varchar(80) NOT NULL, + namespace varchar(80) NOT NULL, + PRIMARY KEY (sessionnum) +); +CREATE UNIQUE INDEX clientapi_session1 ON clientapi_session ( sessionid, namespace ); + +CREATE TABLE clientapi_session_field ( + fieldnum serial NOT NULL, + sessionnum int NOT NULL, + fieldname varchar(80) NOT NULL, + fieldvalue text NULL, + PRIMARY KEY (fieldnum) +); +CREATE UNIQUE INDEX clientapi_session_field1 ON clientapi_session_field ( sessionnum, fieldname ); + DROP INDEX cust_bill_pkg1; ALTER TABLE cust_bill_pkg ADD itemdesc varchar(80) NULL; -- cgit v1.2.1