Hi all, I have some trouble to set the name of the cookie for the ring-session Here is what i have but the name of the cookie stay ring-sesssion If someone have an idea ?
(def my-site-defaults
"A default configuration for a browser-accessible website that's accessed
securely over HTTPS."
(-> api-defaults
(assoc-in [:session :cookie-name] "jsessionid")))
(def fw-app
(-> (handler/site app-routes)
(reload/wrap-reload)
(wrap-default-charset "utf-8")
(wrap-defaults my-site-defaults)
(wrap-multipart-params)
(wrap-json-params)
(wrap-json-response {:pretty false})
(wrap-gzip)))
It seems my problem is with anti-forgery when using site-default
<h1>Invalid anti-forgery token</h1>
setting anti-forgery to false make my site work but can't rename the cookie...
i use http-kit may be there is a problem here ?