Q_ENTRY* qSessionInit ( Q_ENTRY request,
const char *  dirpath 
)

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.


Generated on Mon Mar 26 07:00:51 2018 for JSOC_Documentation by  doxygen 1.5.7.1