<div dir="ltr"><span style="font-size:12.8px;color:rgb(80,0,80)">Hi,</span><div style="font-size:12.8px;color:rgb(80,0,80)"><br></div><div style="font-size:12.8px;color:rgb(80,0,80)">This is Pankaj,I am trying to write  a module which is capable to access header value and set header and reading cookie and setting cookie.</div><div style="font-size:12.8px;color:rgb(80,0,80)">if i refer apache module then found  apr_table_get() and apr_table_set() APIs are  available to get/set header/cookie values.</div><div style="font-size:12.8px;color:rgb(80,0,80)">I have tried to use ngx_http_get_variable() API to get cookie value but not getting any value.</div><div style="font-size:12.8px;color:rgb(80,0,80)">Please help me on this and let me know is any other API which I can use for the same.</div><div style="font-size:12.8px;color:rgb(80,0,80)"><br></div><div style="font-size:12.8px;color:rgb(80,0,80)"><br></div><div style="font-size:12.8px;color:rgb(80,0,80)"><br></div><div style="font-size:12.8px;color:rgb(80,0,80)">Thanks & Regards,<br>Pankaj Chaudhary</div></div>