diff options
| author | peterdd <ddpm@liscovius.de> | 2021-05-05 15:04:24 +0200 |
|---|---|---|
| committer | Damien Regad <dregad@mantisbt.org> | 2021-08-15 02:20:38 +0200 |
| commit | da52d17efa31e58bba72d387728dbfb5224da20d (patch) | |
| tree | d8222fd33ba9127baf49ce2e8c88673f32e1c4bf /session | |
| parent | b66b0ef7e0309ab6c86fa2c0160ec7a878a3d55f (diff) | |
| download | adodb-da52d17efa31e58bba72d387728dbfb5224da20d.tar.gz adodb-da52d17efa31e58bba72d387728dbfb5224da20d.tar.bz2 adodb-da52d17efa31e58bba72d387728dbfb5224da20d.zip | |
Session XML schema: formatting, add field comments
Fixes #732
Signed-off-by: Damien Regad <dregad@mantisbt.org>
Diffstat (limited to 'session')
| -rw-r--r-- | session/session_schema2.xml | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/session/session_schema2.xml b/session/session_schema2.xml index 89cb4f28..a8a1b229 100644 --- a/session/session_schema2.xml +++ b/session/session_schema2.xml @@ -1,37 +1,33 @@ <?xml version="1.0"?> <schema version="0.3"> <table name="sessions2"> - <descr>table for ADOdb session-management</descr> - + <descr>Table for ADOdb session management</descr> <field name="SESSKEY" type="C" size="64"> - <descr>session key</descr> + <descr>Session key to identify a user's browser session.</descr> <KEY/> <NOTNULL/> </field> - - - <field name="EXPIRY" type="T"> - <descr></descr> + <descr>Slightly redundant as it can be dynamically calculated by NOW() and MODIFIED field, + but it enables forcing a fixed timeout for specific sessions. + </descr> <NOTNULL/> </field> - - <field name="CREATED" type="T"> - <descr></descr> + <field name="CREATED" type="T"> + <descr>New session creation Timestamp.</descr> <NOTNULL/> </field> - - <field name="MODIFIED" type="T"> - <descr></descr> + <field name="MODIFIED" type="T"> + <descr>Timestamp which is usually updated when the user interacts with a site, to extend the expire time.</descr> <NOTNULL/> </field> - <field name="EXPIREREF" type="C" size="250"> - <descr></descr> + <descr>Usually a User Id or unique username of your application. + The name EXPIREREF is a bit weird, it may be better to call it USERREF? + </descr> </field> - <field name="SESSDATA" type="XL"> - <descr></descr> + <descr>PHP's serialized session data or encrypted serialized session data.</descr> <NOTNULL/> </field> </table> |
