auth cookies are missing at times, causing application logout

21 views
Skip to first unread message

jeet kaushik

unread,
Apr 19, 2018, 3:30:26 AM4/19/18
to Nginx-Clojure
Hi,

      We are facing strange issue with Nginx-clojure. Our application relies on secure auth cookies which are issues while login. but at times these cookies are missing while reading in clojure module, causing application logout/unauthenticated request.

//set-cookie during login , Max-Age set to 24 hrs

add_header Set-Cookie "access_token=$access_token;Path=/;HttpOnly;secure;Max-Age=86400";

variable $access_token is set by JavaRingHandler.

version used: nginx-clojure-0.4.5


Issue is very intermittent in nature, it appears at very random interval like using application for 2-3 hours or more and then suddenly cookies are missed in any of requests.

Please help me in figuring out this issue, i am kind of stuck with this for a long time, any help will be much appreciated.

Thanks in advance,
Jeet
Reply all
Reply to author
Forward
0 new messages