Package dhm :: Module sqlsession
[show private | hide private]
[frames | no frames]

Module dhm.sqlsession

Session storage class

When dealing with multiple simultaneous sessions as is common with web-based programming it is very useful to store session information on the server. To do this a special kind of database is needed which allows for multiple readers and writers in parallel.

This module implements such a database using a SQL database. The tables have to use this structure:
CREATE TABLE paidnet(
       id              VARCHAR(16) NOT NULL,
       attribute       VARCHAR(16) NOT NULL,
       value           VARCHAR(255) NOT NULL,
       CONSTRAINT single_key UNIQUE (id, attribute));

Classes
SQLSession Session storage

Generated by Epydoc 2.0 on Fri Oct 3 14:48:43 2003 http://epydoc.sf.net