ring

2020-06-29T07:39:40.093800Z

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)))

2020-06-29T08:04:13.095300Z

It seems my problem is with anti-forgery when using site-default

2020-06-29T08:05:12.095500Z

<h1>Invalid anti-forgery token</h1>

2020-06-29T08:09:03.095700Z

setting anti-forgery to false make my site work but can't rename the cookie...

2020-06-29T09:30:52.096600Z

i use http-kit may be there is a problem here ?