The qDecoder Project

qSession.c File Reference

HTTP Session Handling API. More...


Defines

#define SESSION_DEFAULT_REPOSITORY   "/tmp"
#define SESSION_ID   "QSESSIONID"
#define SESSION_PREFIX   "qsession-"
#define SESSION_STORAGE_EXTENSION   ".properties"
#define SESSION_TIMEOUT_EXTENSION   ".timeout"
#define SESSION_TIMETOCLEAR_FILENAME   "qsession-timetoclear"
#define INTER_PREFIX   "_Q_"
#define INTER_SESSIONID   INTER_PREFIX "SESSIONID"
#define INTER_SESSION_REPO   INTER_PREFIX "REPOSITORY"
#define INTER_CREATED_SEC   INTER_PREFIX "CREATED"
#define INTER_INTERVAL_SEC   INTER_PREFIX "INTERVAL"
#define INTER_CONNECTIONS   INTER_PREFIX "CONNECTIONS"
#define SESSION_DEFAULT_TIMEOUT_INTERVAL   (30 * 60)

Functions

Q_ENTRYqSessionInit (Q_ENTRY *request, const char *dirpath)
bool qSessionSetTimeout (Q_ENTRY *session, time_t seconds)
const char * qSessionGetId (Q_ENTRY *session)
time_t qSessionGetCreated (Q_ENTRY *session)
bool qSessionSave (Q_ENTRY *session)
bool qSessionDestroy (Q_ENTRY *session)


Detailed Description

HTTP Session Handling API.


[Home] [About] [Examples] [Changes] [Download] [SVN Repository] [Install] [Reference]