On Sat, Dec 19, 2009 at 10:27:50AM +0100, Srebrenko Šehić wrote:
> Hi list,
>
> I'm looking for a way to communicate between unrelated modules.
> Something similar to Apache r->notes() where filters/handler can leave
> notes to each other during the duration of a request.
>
> What is the best way to achieve this?
>
> Perhaps a module A can put something in it's ctx() and module B can
> read it using ngx_http_get_module_ctx(r, ...)?
Yes, you may use the module contexts for this.
--
Igor Sysoev
http://sysoev.ru/en/
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel