Share data between apache modules
In my case mod_a
was setting the value inside apache's internal redirect, so there was another request record 'r' (and 'notes' table). The solution was changing r->notes
to r->prev->notes
to set the value into original request table.