Properties

Options

filename - Path to a file which stores the sqlite database for the community (default in-memory)

virtual - Root Url of this object.

Attached Objects

Community objects (and their derived classes) contain an embedded sqlite
database. This database can be accessed via that <db> method.

Methods

method Database_Functions

Adds the following functions to the database:

uuid_generate() - Generates sha1 UUIDs on demand

sha1() - Returns the SHA1 hash of the input

aclAccessTypes

Returns a list of all possible rights.

aclRights aclnameuser_or_group_id

Return a list of rights that the user or group to the access control list (specified by name.)

method httpdSessionLoad sockprefixsuffix

This method looks for a sessionid cookie or a sessionid field in the GET or POST query, and
pairs it with a session in the session table. If no session is found, a new session is generated
for an anonymous user.

method httpdSessionSave sock

This method compares the current value of result(session) to result(session_delta) (a copy
of the session when the pageview began. Fields that are in the delta, but not in the current session are delete
from session_property. Fields that are present in the session but not the delta are inserted into
session_property. Fields present in both, but with a different value, are updated.

The server will generate a cookie called sessionid which will be loaded on the next page view.

This page was generated in about
0.005s by
Fossil 2.5 [61733824bb] 2018-02-16 16:16:38