Component index
Section index

Component docsession


Search

Type

Function

Summary

Control the presentation of a document

Description

docsession manages the SQL database collecting users (readers) sessions. The database collects which page have been read, and which version. When the user visit the document, we can show what is new, what has changed and so on. This is done on a personal basis. docsession uses cookies to track users.

void body ()

Prototypes

void docsession (const char *id)

It uses the ID (a string) you pass as the key to manage the document in the database.

void docsession ()

It is using the path of the web page relative to document root as the ID to classify the document in the database.

Functags

void body () Mandatory

Write your document there

In general, you are using the component document or project here.