23#define MOD_SESSION_COOKIE "mod_session_cookie"
25module AP_MODULE_DECLARE_DATA session_cookie_module;
61 &session_cookie_module);
65 if (
z->encoded &&
z->encoded[0]) {
78 if (
z->encoded &&
z->encoded[0]) {
113 &session_cookie_module);
207 " cannot be empty, or contain '=' or '&'.",
236 conf->
name2 = cookie;
259 "The name of the RFC2109 cookie carrying the session"),
261 "The name of the RFC2965 cookie carrying the session"),
263 "Set to 'On' to remove the session cookie from the headers "
264 "and hide the cookie from a backend server or process"),
APR general purpose library routines.
#define ap_get_module_config(v, m)
#define AP_DECLARE_MODULE(foo)
#define AP_INIT_FLAG(directive, func, mconfig, where, help)
#define AP_INIT_RAW_ARGS(directive, func, mconfig, where, help)
apr_status_t ap_cookie_write2(request_rec *r, const char *name2, const char *val, const char *attrs2, long maxage,...)
apr_status_t ap_cookie_remove(request_rec *r, const char *name, const char *attrs,...)
apr_status_t ap_cookie_read(request_rec *r, const char *name, const char **val, int remove)
apr_status_t ap_cookie_remove2(request_rec *r, const char *name2, const char *attrs2,...)
apr_status_t ap_cookie_write(request_rec *r, const char *name, const char *val, const char *attrs, long maxage,...)
void ap_hook_session_save(ap_HOOK_session_save_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
void ap_hook_session_load(ap_HOOK_session_load_t *pf, const char *const *aszPre, const char *const *aszSucc, int nOrder)
#define STANDARD20_MODULE_STUFF
#define ap_strchr_c(s, c)
const char apr_int32_t flag
#define apr_pcalloc(p, size)
const char const char *const * args
Session Module for Apache.
static apr_status_t session_cookie_save(request_rec *r, session_rec *z)
static const char * set_remove(cmd_parms *parms, void *dconf, int flag)
static void * merge_session_cookie_dir_config(apr_pool_t *p, void *basev, void *addv)
static const char * set_cookie_name2(cmd_parms *cmd, void *config, const char *args)
static const command_rec session_cookie_cmds[]
static void * create_session_cookie_dir_config(apr_pool_t *p, char *dummy)
static void register_hooks(apr_pool_t *p)
#define MOD_SESSION_COOKIE
static const char * set_cookie_name(cmd_parms *cmd, void *config, const char *args)
static const char * check_string(cmd_parms *cmd, const char *string)
static apr_status_t session_cookie_load(request_rec *r, session_rec **z)
A structure that represents the current request.
apr_table_t * err_headers_out
struct ap_conf_vector_t * per_dir_config
apr_table_t * headers_out