Passing variables from nginx to sinatra

dhaval deshpande lists at ruby-forum.com
Fri Sep 16 16:25:58 UTC 2011


Hello,
       I am trying to pass a uID($uid_got value) that has been generated
by Nginx httpuseridmodule to my sinatra app.

Basically I could have taken from the cookie but the cookie does not get
set on the browser unless the response headers have been sent back.

Can anyone give any suggestions regarding that?

Thanks,
Dhaval.

-- 
Posted via http://www.ruby-forum.com/.



More information about the nginx mailing list