CppCMS

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

Modules | Typedefs | Functions
CppCMS C Session API

## Modules
| Expiration Codes
| Error Handling
| Session Pool
| Session Interface
| Cookie

## Typedefs
typedef struct cppcms_capi_session_pool | cppcms_capi_session_pool
typedef struct cppcms_capi_session | cppcms_capi_session
typedef struct cppcms_capi_cookie | cppcms_capi_cookie

## Functions
CPPCMS_API cppcms_capi_session * | cppcms_capi_session_new ()
CPPCMS_API void | cppcms_capi_session_delete (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_init (cppcms_capi_session *session, cppcms_capi_session_pool *pool)
CPPCMS_API int | cppcms_capi_session_clear (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_is_set (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_erase (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_get_exposed (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_set_exposed (cppcms_capi_session *session, char const *key, int is_exposed)
CPPCMS_API char const * | cppcms_capi_session_get_first_key (cppcms_capi_session *session)
CPPCMS_API char const * | cppcms_capi_session_get_next_key (cppcms_capi_session *session)
CPPCMS_API char const * | cppcms_capi_session_get_csrf_token (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set (cppcms_capi_session *session, char const *key, char const *value)
CPPCMS_API char const * | cppcms_capi_session_get (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_set_binary_as_hex (cppcms_capi_session *session, char const *key, char const *value)
CPPCMS_API char const * | cppcms_capi_session_get_binary_as_hex (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_set_binary (cppcms_capi_session *session, char const *key, void const *value, int length)
CPPCMS_API int | cppcms_capi_session_get_binary (cppcms_capi_session *session, char const *key, void *buf, int buffer_size)
CPPCMS_API int | cppcms_capi_session_get_binary_len (cppcms_capi_session *session, char const *key)
CPPCMS_API int | cppcms_capi_session_reset_session (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set_default_age (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set_age (cppcms_capi_session *session, int t)
CPPCMS_API int | cppcms_capi_session_get_age (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set_default_expiration (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set_expiration (cppcms_capi_session *session, int t)
| Define expiration method.
CPPCMS_API int | cppcms_capi_session_get_expiration (cppcms_capi_session *session)
| Get current expiration method.
CPPCMS_API int | cppcms_capi_session_set_on_server (cppcms_capi_session *session, int is_on_server)
CPPCMS_API int | cppcms_capi_session_get_on_server (cppcms_capi_session *session)
CPPCMS_API char const * | cppcms_capi_session_get_session_cookie_name (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_set_session_cookie (cppcms_capi_session *session, char const *session_cookie_value)
CPPCMS_API int | cppcms_capi_session_add_cookie_name (cppcms_capi_session *session, char const *name)
CPPCMS_API int | cppcms_capi_session_load (cppcms_capi_session *session)
CPPCMS_API int | cppcms_capi_session_save (cppcms_capi_session *session)
CPPCMS_API cppcms_capi_cookie * | cppcms_capi_session_cookie_first (cppcms_capi_session *session)
CPPCMS_API cppcms_capi_cookie * | cppcms_capi_session_cookie_next (cppcms_capi_session *session)
CPPCMS_API void | cppcms_capi_cookie_delete (cppcms_capi_cookie *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_header (cppcms_capi_cookie const *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_header_content (cppcms_capi_cookie const *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_name (cppcms_capi_cookie const *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_value (cppcms_capi_cookie const *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_path (cppcms_capi_cookie const *cookie)
CPPCMS_API char const * | cppcms_capi_cookie_domain (cppcms_capi_cookie const *cookie)
CPPCMS_API int | cppcms_capi_cookie_max_age_defined (cppcms_capi_cookie const *cookie)
CPPCMS_API unsigned | cppcms_capi_cookie_max_age (cppcms_capi_cookie const *cookie)
CPPCMS_API int | cppcms_capi_cookie_expires_defined (cppcms_capi_cookie const *cookie)
CPPCMS_API long long | cppcms_capi_cookie_expires (cppcms_capi_cookie const *cookie)
CPPCMS_API int | cppcms_capi_cookie_is_secure (cppcms_capi_cookie const *cookie)

## Detailed Description

New in CppCMS 1.2