Message view | « Date » · « Thread » |
---|---|
Top | « Date » · « Thread » |
From | Bill Stoddard <b...@wstoddard.com> |
Subject | Re: How to attach user data to request_rec structure? |
Date | Fri, 23 May 2003 13:24:16 GMT |
> Check out these examples from mod_cache: > > ap_set_module_config(r->request_config, &cache_module, cache); > conf = (cache_server_conf *) > ap_get_module_config(r->server->module_config, &cache_module); Ooops, that response was a little skitzo... :-) Try this: ap_set_module_config(r->request_config, &cache_module, cache); cache = (cache_request_rec *) ap_get_module_config(r->request_config, &cache_module); Bill | |
Mime |
|
View raw message |