Initialize session
- Parameters:
-
| request | a pointer of request structure returned by qCgiRequestParse() |
| dirpath | directory path where session data will be kept |
- Returns:
- a pointer of malloced session data list (Q_ENTRY type)
- Note:
- The returned Q_ENTRY list must be de-allocated by calling qEntryFree(). And if you want to append or remove some user session data, use qEntry*() functions then finally call qSessionSave() to store updated session data.
Definition at line 82 of file qSession.c.