diff options
author | ivan <ivan> | 2005-02-08 20:22:46 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-02-08 20:22:46 +0000 |
commit | fc9e97f6cab72de473288470c0681534caf25ea5 (patch) | |
tree | 1aa26f5ab82003b2fb01eb77936b5771c056129c /httemplate | |
parent | 85b4db91819ef43709a7d9728af3a7f1aa37b07a (diff) |
make self-service session cache module configurable, start framework for in-database session cache
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/docs/install.html | 2 | ||||
-rw-r--r-- | httemplate/docs/schema.html | 15 | ||||
-rw-r--r-- | httemplate/docs/upgrade10.html | 19 |
3 files changed, 33 insertions, 3 deletions
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: <li><a href="http://search.cpan.org/search?dist=Time-Duration">Time-Duration</a> <li><a href="http://search.cpan.org/search?dist=HTML-Widgets-SelectLayers">HTML-Widgets-SelectLayers</a> <li><a href="http://search.cpan.org/search?dist=Storable">Storable</a> -<!-- MyAccounts, maybe only for dev <li><a href="http://search.cpan.org/search?dist=Cache-Cache">Cache::Cache</a> --> + <li><a href="http://search.cpan.org/search?dist=Cache-Cache">Cache::Cache</a> <li><a href="http://search.cpan.org/search?dist=NetAddr-IP">NetAddr-IP</a> <li><a href="http://search.cpan.org/search?dist=Chart">Chart</a> <li><a href="http://search.cpan.org/search?dist=Crypt-PasswdMD5">Crypt::PasswdMD5</a> 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 @@ <li><a name="rate_prefix" href="man/FS/rate_prefix.html">rate_prefix</a> - Call rate prefix <ul> <li>prefixnum - primary key - <li>regionnum <a href="#rate_region">rate region</a> + <li>regionnum - <a href="#rate_region">rate region</a> <li>countrycode <li>npa <li>nxx @@ -499,5 +499,18 @@ <li>locale - locale <li>msg - Message text </ul> + <li><a name="clientapi_session" href="man/FS/clientapi_session.html">clientapi_session</a> - ClientAPI session store + <ul> + <li>sessionnum - primary key + <li>sessionid - session ID + <li>namespace - session namespace + </ul> + <li><a name="clientapi_session_field" href="man/FS/clientapi_session_field.html">clientapi_session_field</a> - Client API session store data + <ul> + <li>fieldnum - primary key + <li>sessionnum - <a href="#session">session</a> + <li>fieldname + <li>fieldvalue + </ul> </ul> </body> 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 <b>AddHandler perl-script .cgi</b> or <b>SetHandler perl-script</b> to <b>AddHandler perl-script .cgi .html</b> -install NetAddr::IP, Chart::Base, IPC::ShareLite, Locale::SubCountry, +install NetAddr::IP, Chart::Base, Locale::SubCountry, JavaScript::RPC (JavaScript::RPC::Server::CGI) <!-- and Crypt::YAPassGen--> 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; |